{"id":22166191,"url":"https://github.com/maxerbox/simple-throttle-ban-bot","last_synced_at":"2025-03-24T16:15:27.191Z","repository":{"id":144030866,"uuid":"114925504","full_name":"maxerbox/simple-throttle-ban-bot","owner":"maxerbox","description":"A simple bot used to throttle your ban command from your mods","archived":false,"fork":false,"pushed_at":"2019-02-25T20:19:56.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T07:54:12.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxerbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-20T19:53:50.000Z","updated_at":"2022-08-21T19:18:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"7012503d-82be-4ab0-a8a1-e2a568f77837","html_url":"https://github.com/maxerbox/simple-throttle-ban-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxerbox%2Fsimple-throttle-ban-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxerbox%2Fsimple-throttle-ban-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxerbox%2Fsimple-throttle-ban-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxerbox%2Fsimple-throttle-ban-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxerbox","download_url":"https://codeload.github.com/maxerbox/simple-throttle-ban-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245304868,"owners_count":20593626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T05:18:26.885Z","updated_at":"2025-03-24T16:15:27.182Z","avatar_url":"https://github.com/maxerbox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord  throttle ban moderation bot\n\n\u003e A simple bot used to throttle your ban command from your mods\n\n## What it is\n\nThat's a simple bot made with Fisherman and Discord.js to rate limit the use of a ban command from your mods\n\n## Why\n\nIt prevents you from getting raid by your mods and getting all your members banned\n\n## Setup\n\n* Clone this repository\n\n* Run `npm install` in the folder of the cloned repo\n\n* Edit the config file (see below)\n\n* Run the index.js file with node\n\n## Use\n\n[prefix]ban [@usermention] [reason] or\n\n[prefix]ban [id] [reason]\n\nEx: `?ban @malicioususer He is malicious`, `?ban 7987987984465 He is very malicious`\n\n## Config file properties\n\n| Property name      | Type          | Description                                                                                                                                                                 |\n|--------------------|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| modRole            | String        | The moderation role id                                                                                                                                                      |\n| throttlingMS       | int           | Time used to thottle the ban command from mods                                                                                                                              |\n| disabledRoleBan    | Array\u003cString\u003e | An array of role id. If the ban target has one of those role, it can't be banned                                                                                            |\n| serverId           | String        | The server id used to operate. Only used by modLog                                                                                                                          |\n| modLog             | String/Bool   | If set to false, there are no logs sent to the modlog channel. It's the modlog channel id. When a mod use the ban command, it sent some infos to the log channel in a embed |\n| token              | String        | The bot token                                                                                                                                                               |\n| fisherman          | Object        | The Fisherman options. See [here](https://maxerbox.github.io/fisherman-discord.js/?api=fisherman#FishermanOptions)                                                                |\n| allowBotBan        | Bool          | Allow mods to ban bots on the server                                                                                                                                         |\n| allowHigherRankBan | Bool          | Allow mods to ban an higher rank than the mod using the command                                                                                                             |\n| presenceOnConnect  | Object        | Updated on connect. See [here](https://discord.js.org/#/docs/main/stable/typedef/PresenceData)                                                                                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxerbox%2Fsimple-throttle-ban-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxerbox%2Fsimple-throttle-ban-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxerbox%2Fsimple-throttle-ban-bot/lists"}