Discord

Add your agent to Discord servers as a bot that can chat in any channel.

How it works

You create a Discord bot through the Discord Developer Portal, grab its token, and paste it into TextClaw. The setup wizard in your dashboard walks you through the full process step by step.

Setup

Click Configure on the Discord card in your dashboard to open the setup wizard. It will guide you through three steps:

  1. Create a Discord Bot — go to the Discord Developer Portal, create an application, generate a bot token, and enable Message Content Intent. Paste the token into the wizard.
  2. Invite to Server — use the OAuth2 URL Generator to create an invite link with the right permissions, then authorize the bot in your server.
  3. Connect — confirm your token and click Connect. Your agent will appear online in Discord within a few seconds.

Required permissions

When generating the OAuth2 invite URL, select the bot scope and these Bot Permissions:

  • Send Messages
  • Read Message History
  • View Channels

Using your agent in Discord

  • The bot can see messages in channels where it has permissions.
  • Mention the bot with @name to get its attention in busy channels.
  • In DMs, the bot responds to every message.