Connect Discord
Connect your agent to Discord so it can respond in your server channels.
Prerequisites
Section titled “Prerequisites”- A Wireclaw agent (create one if you haven’t)
- A Discord account with Manage Server permission on the target server
-
Create a Discord application
Go to the Discord Developer Portal → New Application.
Name it (e.g., “Wireclaw Research Bot”) and click Create.
-
Create a bot user
In your application → Bot tab → Add Bot.
Under Privileged Gateway Intents, enable:
- Message Content Intent (required for reading messages)
Click Reset Token and copy the bot token.
-
Invite the bot to your server
Go to OAuth2 → URL Generator.
Select scopes:
bot,applications.commandsSelect bot permissions:
Send Messages,Read Message History,Embed LinksCopy the generated URL and open it in your browser to invite the bot.
-
Add the token in Wireclaw
Go to Dashboard → Your Agent → Channels → Add Discord.
Paste the bot token and click Connect.
[channels.discord]token = "YOUR_DISCORD_BOT_TOKEN"guild_id = "123456789012345678" # Optional: restrict to one server -
Verify the connection
Green checkmark = connected. The bot should appear online in your server.
Test it
Section titled “Test it”Mention your bot or send a message in a channel it has access to. The agent responds inline.
Troubleshooting
Section titled “Troubleshooting”| Issue | Solution |
|---|---|
| Bot appears offline | Check agent status is “Running” in Dashboard |
| ”Missing Access” error | Ensure bot has Send Messages permission in the channel |
| Bot doesn’t read messages | Enable Message Content Intent in Developer Portal → Bot tab |
Next steps
Section titled “Next steps”- Connect Telegram — add another channel
- Connect Slack — add Slack
- Agent Config reference — all configuration options