Skip to content

Maintenance: We are currently setting up all Infrastructure - Please be patient.

Docs menu · Honeypot
Community

Honeypot

A trap channel for spam bots. Whoever writes there is removed from the server at once.

Spam bots post in every channel they can find. The honeypot is a channel nobody needs: whoever writes there outside the team is caught at once, and the bot removes the message.

#Setting it up

  1. Create a channel, such as #do-not-write, and put it near the top of the channel list, where spam bots find it first.
  2. Pick it as the trap channel.
  3. Choose what happens.
  4. Save, then post the warning, so real members know not to write there.

#What happens

  • Ban for good. The messages of the last hour disappear, and the person stays banned until someone lifts the ban.
  • Ban for a while. Like the ban for good, but it ends by itself after the ban duration, from one hour to one year. Default: 7 days.
  • Kick only. Removed from the server, the other messages stay. The person can join again with an invite.
  • Softban. Ban and unban at once. The messages of the last hour disappear everywhere, and the person may join again. The default.
  • Timeout. Muted for the time you set. Default: 24 hours.

A burst of messages counts as one catch, so the action runs once.

#When a ban for a while ends

The bot stores when the ban ends and lifts it on time, within about a minute, also after a restart of the bot. The log channel says until when the person is banned and when the bot lifted the ban.

  • Lift the ban earlier by hand, and the bot leaves it at that.
  • A new duration counts for the next catches. Bans that are running keep their end.
  • If the bot cannot lift a ban, for example because it lost Ban members, it tries again every 15 minutes. After a week it gives up and asks you in the log channel to lift the ban by hand.
  • If you remove the bot from the server, nobody lifts the ban any more. Lift it by hand then.

#Exceptions and log

Server admins, admin roles and the support team of your panels are never caught. Add exempt roles for anyone else, such as moderators of another bot. Every catch goes to the log channel with the message and the action.

The reason Discord shows in the audit log and the ban list is Honeypot with the date and time of the catch in the time zone of your server, such as Honeypot 05/11/2026, 17:19 CET, so you find the matching log entry. A ban for a while adds its end.

#Catches

Below the settings, the page lists every catch, newest first: when, who (name, username and id), what they wrote with the names of their files, the action and its state. A ban for a while shows until when it runs and when it was lifted, a ban lifted by hand shows that too.

  • Search by name, username or id. A click on a name shows only that person.
  • Filter by action, such as only the bans for a while.

Catches are kept for 90 days, a ban that still runs then stays until it ends. Roleplay+ support sees the messages only with the owner's support access, like transcripts. A reset of everything deletes the history.

#When the action fails

A failed catch says why under Failed, in the list and in the log channel:

  • Their role is above the bot role. Discord lets a bot ban, kick or time out only members whose highest role sits below its own. Administrator does not change that.
  • The bot is missing the permission. It needs Ban members, Kick members or Timeout members for the action.
  • The owner cannot be banned or kicked.
  • Had already left the server.
  • A Discord error with its number, when none of these fits.

Catches from before this list show Failed alone.

Under the action, the page warns when the bot role sits below roles of members it could catch, and names those roles. Roles of the team (Administrator, admin and support roles) and the exempt roles do not count, their members are never caught. Move the bot role above the named roles in the server settings, under Roles.

#The warning

The bot posts the warning in the trap channel when you press Post the warning. Edit it like any message, it uses Discord's full limits on every plan.

The bot needs Ban members, Kick members or Timeout members for the action you choose, and Manage messages, also in the trap channel itself. A ban for a while needs Ban members until it has ended. The page warns about the permission of the action you picked and about channels where the bot cannot work. Members whose highest role sits above the bot's cannot be caught.