Skip to main content
Discord channels link through OAuth. When you create a link, the channels service returns an OAuth URL. The user authorizes the bot, and it is invited to their Discord server with a route back to your agent.
Discord installs at the server level, so pass mode: "guild":
The action.type is "oauth". Redirect the user to action.url. After they pick a server and approve the bot invite, the channels service stores the token and the route goes live.

Check status

Disconnect

This removes the bot from the server. See Status & Disconnect for the full response shape.