A Discord bot to automatically catch and remove spam bots by monitoring a dedicated "#honeypot" channel.
- Invite the bot to your server with appropriate permissions (Ban Members, Manage Channels, etc).
- The bot will create a
#honeypotchannel on join, or you can set it up with/honeypot. - Configure the admin log channel and action (kick or ban) using the
/honeypotcommand. - Ensure the bot’s highest role is above any self-assignable (color/ping) roles.
- Any user posting in the honeypot channel will be banned or removed, and the action will be logged.
Note: Kick is default and is a softban (bans & unbans) so Discord deletes their immediate messages
- Bun (v1.3+)
- Discord bot token (set as
DISCORD_TOKENenvironment variable)
bun install
bun start