Skip to content

Honeypot Discord bot

A trap channel for spam bots and hacked accounts.

Make a channel nobody real posts in. When a hacked account posts its scam there, your bot DMs them how to secure their account, softbans them to clear their messages from every channel, and tells your staff. It's all set up on one page in BotGhost, the no-code Discord bot maker.

Every setting is free on every bot, from the softban to the surge pause.

How a Discord honeypot catches a hacked account

From the warning post in your trap channel to the log your staff see. Press a step to see it play out.

The warning post

Your trap is a channel nobody real has a reason to use, like #do-not-post-here near the top of the list. The bot posts a warning in it, with a count of the accounts caught so far.

Hacked accounts and spam scripts post the same scam in every channel they can see, so they post here too. People read the warning and stay out.

A hacked account posts

Someone got into Dax's account, and it posts a fake Nitro link in every channel. The one in the trap is deleted straight away, and the catch starts.

If it keeps posting, it's still only caught once a minute. The extra messages are just deleted.

The DM

Before it acts, the bot DMs Dax. Once they're out of the server, the bot can't reach them any more.

The DM has four steps to make the account safe, a link to Discord's guide, and a one-use invite back that works for 7 days. If Dax's DMs are closed, the bot carries on.

The softban

Then the bot softbans Dax. It bans them, which deletes every message they sent in the last hour in every channel, then unbans them straight away.

The scam is gone from #general and everywhere else, and Dax can rejoin with the invite once the account is safe. Two minutes later, a second sweep deletes anything Discord missed.

The log

Your log channel gets the catch: who it was, where, how old the account is, when they joined, and the message itself.

Staff press Ban for good to keep them out, or Give back roles once Dax is safe. The log then says who pressed it.

What else the honeypot bot does

Honeypot looks after the real person behind a hacked account, and your server while a raid is on. Most of these are switches on the Honeypot page.

  • Staff can test itTheir message is deleted and they get the sample DMStaff are never caught. When staff post there on the Safety tab adds a note that goes away after 15 seconds.
  • Give roles backA button on the log, or by itself when they rejoinGive back roles on the Action tab. Their roles are kept for 30 days.
  • A second sweepAnything the first ban missed is deleted 2 minutes laterSweep again after 2 minutes, on to start with.
  • Pause on a surgeInvites and DMs are paused when a raid startsPause on a surge on the Safety tab: 3 catches in 10 minutes pauses them for 2 hours, with a role to ping and a Resume invites button.
  • Go easy on regularsA long time member's harmless message is only deletedGo easy on regulars, off to start with. A message with a link, a picture or @everyone is still caught.
  • Trap rolesCatch accounts that pick a role nobody should pickTrap roles on the Traps tab. Add one to Onboarding as an option no person would pick.
  • One catch a minuteA script posting again and again is caught onceAlways on. The rest of its messages in the trap are just deleted.
  • Your own blocksDo more on every catchOpen the Honeypot: Catch event in the builder and add blocks to it.

Every action: softban, ban, kick and more

Pick what happens to an account that posts in the trap. Softban is the default. Whatever you pick, the message in the trap is deleted and staff get the log.

  • Softban

    Default

    Removes them and deletes their messages, but they can rejoin once their account is safe.

    Messages deleted
    Every channel
    Invite back
    Yes
    Log buttons
    Ban for good, Give back roles
  • Ban

    Removes them for good and deletes their messages. Staff can unban them from the log.

    Messages deleted
    Every channel
    Invite back
    No
    Log buttons
    Unban
  • Kick

    Removes them. They can rejoin with the invite in the DM.

    Messages deleted
    The trap only
    Invite back
    Yes
    Log buttons
    Ban for good, Give back roles
  • Timeout

    Keeps them in the server but stops them talking, for 1 minute to 28 days.

    Messages deleted
    The trap only
    Invite back
    No
    Log buttons
    Ban for good, Remove timeout
  • Give a role

    Gives them a role you pick, like one that hides the rest of the server.

    Messages deleted
    The trap only
    Invite back
    No
    Log buttons
    Ban for good
  • Only log

    Nothing happens to them. Staff see the log and decide.

    Messages deleted
    The trap only
    Invite back
    No
    Log buttons
    Ban for good

Only a ban or softban can delete their messages in other channels: it's the only way Discord lets a bot do it. Pick 1 hour, 6 hours, 12 hours, 24 hours, 3 days or 7 days.

Every Honeypot setting in the dashboard

Honeypot has one page in your dashboard: a tab for each part, then its events. A live preview beside the tabs shows the messages as you change them. You set it up server by server, from the server menu at the top.

Trap channels and the warning post

Pick up to 5 trap channels, or let the bot make one, and post a warning in each so real members stay out. Trap roles catch accounts that pick a role nobody should pick.

The warning post as Honeypot starts it. The count goes up with every catch.
Trap channels with #do-not-post-here picked, and Create a trap channel for me
The warning post card: the message in two text boxes with the caught count, Edit message, the variables it fills in, and Post or update the warning
Trap roles with Catch members who get a trap role switched on and the I'm a bot role picked

Trap channels

Trap channels
Anyone who posts in one is caught. Up to 5. Keep them visible and writable for everyone, near the top, and don't call them honeypot.
Create a trap channel for me
Makes #do-not-post-here at the top of the channel list, with a topic that says what it is, and adds it to the trap channels.

The warning post

The warning post
A whole message you can change with Edit message. It fills in the count of accounts caught so far.
Post or update the warning
Posts it in every trap channel, or edits the one that is there after you change it. The count on it is kept up to date, at most once a minute.

Trap roles

Catch members who get a trap role
On to start with. Nothing happens until a role is picked.
Trap roles
Up to 10. Add one to Onboarding as an option no person would pick. Staff who get one are skipped.

Under the tabs: the events

Honeypot has no slash commands. Members never use it, and staff work from the page and the log's buttons. Its six events are made of ordinary builder blocks, so you can open them in the builder and add your own.

The Honeypot events, each with Open in builder and a switch: Message Sent, Trap Role, Catch, Set Up, Rejoin and Bot Left

Catching

Message Sent
Checks every message. One in a trap channel is deleted; staff get a note and the sample DM, a regular is let off while Go easy on regulars is on, and anyone else is caught.
Trap Role
When a member gets a trap role: staff get the sample DM and a log line, and anyone else is caught.
Catch
Does the catch: saves their roles, counts it, makes the invite back, DMs them, then the action, the log post and its buttons, the count, the second sweep and the surge pause. Add your own blocks here to do more on every catch.

The rest

Set Up
Runs the page's Create a trap channel for me, Post or update the warning, and Reset count.
Rejoin
Gives a caught member their roles back when they come back, if staff pressed Give back roles or the automatic switch is on.
Bot Left
Deletes the count, the saved roles and the surge counts for a server the bot leaves.

Honeypot is made of ordinary builder blocks, and every message it sends can be changed with the Message Builder. The softban is the Ban a Member block's Unban straight away choice, which you can use in your own Discord bot events and commands too.

Set up a honeypot channel on Discord

Haven't got a bot in your server yet? Start with how to make a Discord bot, then come back here.

  1. 1Open Honeypot from Modules in your dashboard and switch it on, then pick your server in the menu at the top right.
  2. 2On the Traps tab, pick a trap channel, or press Create a trap channel for me.
  3. 3On the Log tab, pick a Log channel. Press Save Changes, then Post or update the warning on the Traps tab.
  4. 4In Discord, move your bot's role above your member roles, so it can act on them.
  5. 5Try it: post in the trap from an account that isn't staff. Posting from a staff account only gets you the sample DM.
The sample DM staff get when they post in the trap. Nothing else happens to them.

A free Discord honeypot bot

Every Honeypot setting works on the free plan. There's no Premium part, only the limits below, which are the same on every bot.

Free

$0
  • Trap channels, trap roles and the warning post with its count
  • Every action, from softban to only log, and the second sweep
  • The DM with recovery steps and a one-use invite back
  • The log buttons, giving roles back, going easy on regulars and the surge pause
  • Honeypot checks every message, and none of it counts toward your free limits

On free bots, a small Made with BotGhost line shows under the messages about one time in three. Never in the DM.

The limits

in each server
Trap channels
Up to 5
Trap roles
Up to 10
Messages deleted
1 hour to 7 days
Timeout
1 minute to 28 days
Invite back
Up to 7 days
Surge pause
Up to 24 hours
Catches per member
1 a minute

Premium ($12.50 a month for one bot) takes the Made with BotGhost line off and adds unlimited commands, events, and servers. Free bots go offline after 2 days with no activity. Read about free hosting

Discord honeypot bot questions

Didn't find your question? Ask us in the BotGhost Discord, or read the Honeypot docs.

Yes. Every Honeypot setting is free on BotGhost: trap channels and trap roles, every action, the DM with an invite back, the log buttons, giving roles back and the surge pause. Honeypot checks every message, and none of that counts toward your free limits.

Honeypot on the free plan

Stop scam posts from hacked accounts

Switch on Honeypot, make a trap channel, and post the warning. The free plan doesn't need a card.

Set up Honeypot for free