{"id":13713575,"url":"https://github.com/jfoster/discord-slowmode-bot","last_synced_at":"2026-01-21T23:44:24.956Z","repository":{"id":57566286,"uuid":"160530733","full_name":"jfoster/discord-slowmode-bot","owner":"jfoster","description":"Discord bot to set slowmode of a channel to any value between 1 second and 6 hours","archived":false,"fork":false,"pushed_at":"2023-02-25T04:15:09.000Z","size":104,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2026-01-15T07:05:32.694Z","etag":null,"topics":["discord-api","discord-bot","disgord","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfoster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-05T14:30:30.000Z","updated_at":"2025-07-31T14:25:08.000Z","dependencies_parsed_at":"2023-07-13T23:09:13.745Z","dependency_job_id":"fc4756b6-cb9a-4956-9333-b9d387f996ca","html_url":"https://github.com/jfoster/discord-slowmode-bot","commit_stats":null,"previous_names":["jfoster/discordtestbot","jfoster/discord-set-slowmode-bot"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jfoster/discord-slowmode-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfoster%2Fdiscord-slowmode-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfoster%2Fdiscord-slowmode-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfoster%2Fdiscord-slowmode-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfoster%2Fdiscord-slowmode-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfoster","download_url":"https://codeload.github.com/jfoster/discord-slowmode-bot/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfoster%2Fdiscord-slowmode-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28646961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["discord-api","discord-bot","disgord","go","golang"],"created_at":"2024-08-02T23:01:39.603Z","updated_at":"2026-01-21T23:44:24.942Z","avatar_url":"https://github.com/jfoster.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# discord-slowmode-bot\n\nSimple discord bot to set channel slowmode to any value between 1 second and 6 hours.\n\n## Why?\n\nI wanted to set the discord slowmode setting to 1 second to not be too restrictive for people who\\\ntalk\\\nlike\\\nthis\\\nbut still try and thwart spambots.\n\nCurrently the GUI for setting slowmode is not particularly granular and does not allow for below 5 seconds.\n\n![](https://i.imgur.com/5ki1rDd.png)\n\nI then discovered it's possible to set slowmode to any integer between 0 to 21600 seconds via the discord api, hence the creation of this simple bot.\n\n## How?\n\n1. Create a discord bot app, [instructions here](https://github.com/andersfylling/disgord/wiki/Get-bot-token-and-add-it-to-a-server).\n1. Download the [latest release](https://github.com/jfoster/discord-slowmode-bot/releases/latest) for your given platform.\n1. Open a command line instance in the bot's directory and run ```./discord-slowmode-bot```, a warning should be printed ```client id is not specified, check cfg.yaml file``` and cfg.yaml will be created.\n1. Copy your bot token into cfg.yaml replacing ```\u003cyour-bot-token-here\u003e```.\n1. Run ```./discord-slowmode-bot``` again, once connected, copy the discord invite link to your favourite browser and add the bot to a server. The bot should now be present in the desired server.  ![](https://transfer.sh/RkNk3/Screenshot-2019-04-02-at-18.09.52.png)\n2. In discord, from the channel you would like to set slowmode, type ```@SlowModeBot \u003cduration\u003e``` e.g. ```@SlowModeBot#8558 1s``` for 1 second, ```@SlowModeBot#8558 2m``` for 2 minutes or ```@SlowModeBot#8558 2h``` for 2 hours.  ![](https://i.imgur.com/bSdpfMC.png)\n\n## Credits\n\nMany thanks to @andersfylling for creating [disgord](https://github.com/andersfylling/disgord), and for offering guidance! 🍻\n\n## License\n\n[MIT](LICENSE.txt)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfoster%2Fdiscord-slowmode-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfoster%2Fdiscord-slowmode-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfoster%2Fdiscord-slowmode-bot/lists"}