A discord bot aimed at reducing spam on public servers.
The bot will delete messages that contain invite links to other servers. It also logs its actions to a channel of your choosing. You can use slash commands to configure which roles can or cannot post invites.
Add the bot to your server. If you want to use the bot instance that I set up, then ask me for a bot invite link. Otherwise, you can host the bot on your own computer (instructions for that coming soon).
By default, the bot will prevent all users from posting invites, but that can be easily changed using the commands documented below.
There are three slash commands currently implemented:
/whitelist <role>
will allow the specified role to post invites./unwhitelist <role>
will remove the specified role from the whitelist and prohibit it from posting invites./setmodchannel <channel>
will cause the bot to start logging its actions to the specified channel.
Only users with "Manage Messages" permissions are able to run these slash commands.
TODO: Add commands to view whitelist and unnasign the mod channel.
I saw the spam on the r/Nerf discord server and wondered if there was a way to stop unverified members from posting invite links. Also, writing discord bots is easy and fun.