> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bleed.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Honeypot

> Catch compromised accounts sending malicious messages.

## Overview

Honeypots are a feature that allow you to set up "bait" channels. **Any account that sends a message in a honeypot channel will be automatically punished** based on your configuration. While this feature will punish anyone who types in the channel, it is specifically intended to catch compromised accounts or automated spammers who blindly send malicious messages to all channels.

<Note>
  Users with the **Administrator** permission or a configured **Staff role** are exempt from honeypot punishments.
</Note>

<Callout icon="shield" color="#658A95" iconType="regular">
  All honeypot commands require the **Administrator** permission.
</Callout>

<Info>
  All honeypot punishments are recorded in your server's designated moderation log channel. You can configure where these logs are sent using the `,settings modlog` command.
</Info>

***

### Adding a Honeypot

Add a honeypot channel to your server. When a user sends a message in this channel, they will automatically receive the specified punishment.

<Tip>
  The punishment can be set to `ban`, `softban` or `jail`.
</Tip>

<CodeGroup>
  ```javascript Syntax theme={null}
  ,honeypot add (channel) (punishment)
  ```

  ```javascript Example theme={null}
  ,honeypot add #dont-type-here softban
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/bleed/EDZRIlafPoYtxHAm/images/security/honeypot/add.png?fit=max&auto=format&n=EDZRIlafPoYtxHAm&q=85&s=54d50fcbf4a03f7aafabe2efa967f683" width="1132" height="336" data-path="images/security/honeypot/add.png" />
</Frame>

### Listing Honeypots

View a list of all currently active honeypot channels and their configured punishments.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,honeypot list
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/bleed/EDZRIlafPoYtxHAm/images/security/honeypot/list.png?fit=max&auto=format&n=EDZRIlafPoYtxHAm&q=85&s=621a2dee84f4005ea1b4f6cc1b1ae041" width="1132" height="462" data-path="images/security/honeypot/list.png" />
</Frame>

### Removing a Honeypot

Remove a channel from your honeypots. Users will no longer be punished for typing in it.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,honeypot remove (channel)
  ```

  ```javascript Example theme={null}
  ,honeypot remove #dont-type-here
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/bleed/EDZRIlafPoYtxHAm/images/security/honeypot/remove.png?fit=max&auto=format&n=EDZRIlafPoYtxHAm&q=85&s=e61445254f0fabc614e57ef05f9d817d" width="1132" height="342" data-path="images/security/honeypot/remove.png" />
</Frame>
