Bots

Disband bots are self-hosted integrations. You run the code, Disband relays messages to and from it. Disband never hosts or executes your bot's code.

How it works

  1. Create a bot in Settings → Bots and pick the scopes it needs. You get a token back — it is shown once.
  2. In Settings → Bots, generate an invite link for the server you want the bot to join, and send it to that server's owner.
  3. The owner opens the link and approves. The bot becomes a member of the server.
  4. You run one of the client libraries somewhere (a server, a cloud function, your laptop) and it connects to Disband with the token.

Scopes

A bot's reach in a server is the intersection of the scopes you requested when creating it and the scopes the owner approved for that specific server:

Scope Description
messages.read Receive message events on the gateway and read messages/channels.
messages.write Send and reply to messages in channels the bot can see.
members.read List the members of servers the bot has joined.
channels.manage Create, rename, and delete channels — also needs the manage_channels role in the server.

Token authentication

Every API call is authenticated with the bot token:

Authorization: Bot <token>

Bot tokens are hashed at rest — the raw token is never stored or retrievable. If it leaks (or you no longer need the bot), revoke it in Settings → Bots; revocation kills the token immediately.

Limits & safety

Pick a path