Documentation

Channel Guard Module

A honeypot channel that times out or bans anyone who posts in it. Use it to catch raid bots and scam accounts.

Overview

Pick a channel that real members should never type in. The first message there triggers a timeout or a ban.

Lio can delete the trigger message, skip trusted roles, log the hit, and keep a warning panel with a live counter in the channel.

Setup

  1. Enable Channel Guard in Modules.
  2. Set the honeypot channel and choose Timeout or Ban.
  3. Set the duration in minutes. For bans, 0 means permanent.
  4. Optional: ignored roles, log channel, warning panel, and a ban DM with an appeal link.
  5. Save. Tell members the channel is off-limits, or hide it from everyone except the bot and new accounts.
Tip

Temporary bans are not restored after a bot restart. Prefer a timeout when you want a reliable duration.

Key settings

  • Honeypot channel: any message here triggers the action.
  • Ignored roles: members with one of these roles are not punished.
  • Delete trigger message: removes the post that sprung the trap.
  • Warning panel: a sticky notice in the honeypot with a hit counter.
  • Ban DM: optional message with {user}, {guild}, and {invite} when the action is Ban.

Troubleshooting

  • Nothing happens → module enabled, channel set, bot can Moderate Members (timeout) or Ban Members.
  • Staff got punished → add their roles to Ignored roles.
  • Panel missing → turn the warning panel on and let the bot send messages in the honeypot.