Anti-spam and links
How to Make a Discord Honeypot Channel for Spam Bots and Hacked Accounts
A honeypot channel is a Discord channel nobody should post in. Spam bots and hacked accounts post in every channel they can see, so they post there too. Security Bot's honeypot is free: /honeypot setup makes the channel, pins a warning, and softbans whoever posts in it.
What a honeypot channel is
Think of it as a tripwire. The channel has a name and a pinned message that tell people to stay out. A member who reads it never posts there. A script that pastes a scam link into every channel posts there within seconds, and that message is the signal.
The bot watching the channel acts on that first message. It removes the account, and with a softban it also deletes everything the account posted in the last hour across the server.
Why hacked accounts and spam bots fall for it
- They post everywhere at once. Spam scripts loop through every channel the account can see.
- They don't read. A pinned warning means nothing to a script.
- Hacked accounts pass your other checks. They are old, verified, and have roles, so join filters let them in.
That last point is why a honeypot helps even on a server with strict verification. Verification checks people at the door. A compromised member is already inside, and the honeypot catches them the first time the account spams.
How to set up a honeypot channel with Security Bot
Add Security Bot and check its role
Add Security Bot to your server and drag its role above your member roles. It can only act on members ranked below it.
Create the trap channel
You need Manage Server. Security Bot creates
#honeypotat the top of the server, outside any category, where everyone can see and post. It pins a warning there and turns on softban.Command:
/honeypot setupOr use a channel you already have
Add the
channeloption to turn an existing text channel into the trap. Make sure everyone can see it.Command:
/honeypot setup channel:#do-not-postChoose what happens
Softban is on by default. Change it to Ban, Kick, Timeout (1 hour), or Off.
Command:
/honeypot action action:SoftbanSet the options
The DM and the pinned warning start on. Turn on
inviteto add a rejoin link to the DM, andinclude_messageto copy the trap message into the security log.Command:
/honeypot options invite:True include_message:TrueAdd your staff roles
Moderators without Administrator are actioned like anyone else. Add your mod role as a staff role so they can post there safely. It only affects the honeypot, so anti-nuke still watches them.
Command:
/honeypot options staff_role:@ModeratorsTest it with an alt account
Post in the channel from an alt with no roles. It should be softbanned, get the DM, and show up in the security log.
Command:
/honeypot status
Prefer the dashboard? Open the Honeypot page under Protection. It has the same settings and a button that creates the channel for you.
What happens when someone posts in it
- Bots, webhooks, staff roles, and whitelisted members are skipped. The owner, Administrators, and members above the bot are only logged.
- Everyone else gets a DM first, if the DM is on. A DM that fails is skipped.
- The bot takes the action you chose. Softban is the default.
- Your security log gets an entry for the catch.
The DM says they were removed for posting in a trap channel for spam bots. If that wasn't them, their account may be compromised, and it tells them to change their password, turn on 2FA, and remove apps they don't recognise. With softban or kick, you can add a single-use invite that works for 7 days.
The log entry shows the member, their account age, when they joined, and the action. Each member is actioned once per minute, so a script that posts ten messages in a second gets one softban and one log entry.
Choosing the action
| Action | What it does | Messages deleted | Can they rejoin? | Good for |
|---|---|---|---|---|
| Softban (default) | Bans, then unbans straight away | Last hour, or last 15 minutes | Yes, with any invite | Most servers |
| Ban | Bans for good | Last hour, or last 15 minutes | No | Servers that never want the account back |
| Kick | Removes them from the server | The trap message | Yes, with any invite | Removing them without touching other messages |
| Timeout (1 hour) | Stops them posting for an hour; roles stay | The trap message | They never left | Servers where staff review each case |
| Off | Nothing | None | Not removed | Pausing the trap without deleting the channel |
Softban suits most servers. Many accounts that post in a honeypot belong to real people who were phished. A softban clears the spam everywhere and lets them back once they secure the account. Read what a softban is for the details.
Tuning it
- Keep staff safe. Add your mod roles as staff roles, up to 10. Moderators without Administrator are actioned otherwise.
- Use staff roles, not the whitelist. Users: All and Roles: All also skip anti-nuke. Staff roles don't.
- Leave the warning pinned. It keeps real members out. On Premium you can write your own text.
- Add a second channel on Premium. You can run up to 5 traps, in different spots in the channel list.
- Rename it daily on Premium. An ordinary new name each day, like general-chat or giveaways, helps it blend in.
- Keep it active on Premium. The daily message posts one short line, so the channel doesn't look abandoned.
Premium runs on the Premium Bot, or on your own bot with Premium+. A free bot keeps any extra channels you saved but only watches the first one. See the honeypot page for the full Free and Premium table.
Mistakes to avoid
- Hiding it behind verification. Spam bots that never verify can't see it. Leave it open to everyone, as setup does.
- Moving it to the bottom. Keep it at the top of the list, where a spam script reaches it first.
- Testing it as an admin. The owner and Administrators are only logged. Test with an alt that has no roles.
- Turning off the warning. Real members will post in a channel that looks open. The pin stops them.
- Leaving the bot's role low. Members above Security Bot's role are only logged. Keep its role near the top.
- Treating it as your only defence. It catches accounts that spam. Raids, nukes, and single-channel floods need other layers.
Where a honeypot fits with the rest of your security
A honeypot is one layer. It catches an account that is already inside and starts spamming. The other layers stop different things, and Security Bot runs them all from one bot and one dashboard.
| Threat | Layer | Plan |
|---|---|---|
| New spam accounts joining | Verification | Free |
| A wave of joins at once | Join Guard, and anti-raid on Premium | Free and Premium |
| A hacked member posting in every channel | Honeypot | Free |
| A flood in one channel | Anti-spam | Premium |
| Scam and invite links | Invite link filter, and Threat Link Guard on Premium (anti-link) | Free and Premium |
| A hacked staff account deleting channels | Anti-nuke | Free |
If someone you know got caught
Their account was probably taken over. Tell them to change their password, which logs out every device, and to turn on 2FA. Then they should remove anything they don't recognise under Settings > Authorized Apps.
After a softban or kick, they can rejoin with the link from the DM or any invite you send. They come back without their roles and pass verification again if your server uses it. The scam and phishing guide covers the rest of the cleanup.
Do this with Security Bot
Discord Honeypot Bot: A trap channel that removes spam bots and hacked accounts the moment they post in it.
Security Bot's honeypot is a trap channel that nobody should post in. Spam bots and hacked accounts post in every channel they can see, so they post there too. Whoever does is softbanned by default, gets a DM saying their account may be compromised, and shows up in your security log.
Frequently asked questions
What is a honeypot channel in Discord?
A channel nobody should post in. Spam bots and hacked accounts post in every channel they can see, so posting there gives them away. A bot such as Security Bot removes them on that first message.
How do I make a honeypot channel in Discord?
Add Security Bot and run /honeypot setup. It creates the channel at the top of the server, pins a warning, and softbans anyone who posts there. The command needs Manage Server.
Is a Discord honeypot bot free?
Security Bot's honeypot is free for one channel, with every action, staff roles, the DM, the rejoin invite, the warning, and the logs. Premium adds up to 5 channels, a daily rename, a daily message, and your own text.
Will the honeypot ban my staff?
Not if you add their role as a staff role with /honeypot options staff_role, or on the dashboard. Staff roles skip only the honeypot, so anti-nuke still watches them. The owner and Administrators are never actioned.
What happens to a real member who posts there by mistake?
With the default softban, they are removed and their last hour of messages is deleted, but they can rejoin. Turn on the rejoin invite so the DM includes a single-use link.
Does a honeypot stop raids?
No. It catches accounts that post in it. Use verification and anti-raid for join waves, and anti-nuke for staff accounts that start deleting things.
Can spam bots learn to avoid it?
A script could skip a channel with an obvious name. On Premium, a daily rename gives the channel a new ordinary name each day, and you can run up to 5 traps.
How this guide was made: drafted with AI assistance, then checked against Security Bot's source code and Discord's official help articles. Spotted something out of date? Tell us in the support server.