Skip to content
Administration

Administration

Blacklisting guilds, users, and bots.

Restricted command

/admin is only registered in the guild configured via the ADMIN_GUILD_ID environment variable — it isn’t available to regular server admins anywhere else. On the public bot, that’s a private admin server.

The /admin command manages three separate blacklists, each with add, remove, and list subcommands:

Subcommand groupBlocks
/admin guild-blacklistThe guild from using any bot commands
/admin user-blacklistThe user from using any bot commands
/admin bot-blacklistThe application from being configured via /app

Examples:

  • /admin guild-blacklist add guild-id:<id> / remove / list
  • /admin user-blacklist add user-id:<id> / remove / list
  • /admin bot-blacklist add bot-id:<id> / remove / list

Blacklist entries are cached in a Durable Object for fast lookups and kept in sync with the database on every add/remove.