a person reads “do not post here” and doesn’t. a hacked account pasting a scam link into every channel it can see, or a spam bot doing the same, posts there within its first second. drain deletes the message and bans them on the spot.

setting it up

open the dashboard, pick your server and go to honeypot. switch it on and pick the channel: drain needs to see it, post in it and manage messages there. then pick what happens to whoever posts: ban, kick or time them out (with how long), and whether to clear their messages. switching it off takes the warning down and leaves the channel be.
out of the box it’s a ban that clears the last day of their messages, which is the rest of the spam they just posted. purge only applies to a ban. a timeout is 1d unless you give a length, from a minute up to 28d.

the warning

drain posts a card in the honeypot saying not to post there and what happens if you do. change the action or purge and drain edits the card to match, so it never says something drain won’t do. leave the warning where it is: it’s what stops a curious person from typing “what’s this?“.
put the honeypot at the very top of the channel list, where ,honeypot setup puts it. spam bots work down the list, so it’s the first channel they hit.

who is never caught

  • the server owner
  • anyone with administrator, manage server or manage messages
  • anyone at or above drain’s highest role, which drain couldn’t act on anyway
  • bots and webhooks
  • discord’s own messages, like a join notice or a pin, so a honeypot that’s also the system channel doesn’t ban everybody who joins

the record

every catch is a moderation case with drain as the moderator and “posted in #honeypot” as the reason. it shows in ,mod case and goes to your moderation log like any other case. the person gets the same dm a moderator’s ban would send, so whoever owns a hacked account finds out why. if a spam bot posts ten times before the ban lands, that’s one catch: the rest of its messages are only deleted.

every command

what drain needs

manage messages in the channel to delete the post, and ban members, kick members or moderate members for the action you picked. ,honeypot lists anything missing. without the action permission drain still deletes the post, it just can’t remove them.