Connect ClawCloud to Discord and start messaging your AI agent in the server you already use. Step-by-step from bot creation to first reply.
Your ClawCloud agent lives in Discord — it's where you message it, where it sends alerts, where it posts results. This guide walks through creating a Discord bot, connecting it to your ClawCloud deployment, and sending your first message.
By the end of this guide:
⚠️ Never share your bot token in public channels. If it's exposed, reset it immediately in the Developer Portal.
botDuring the ClawCloud setup wizard:
The wizard writes your token to your server's openclaw config and starts the gateway with Discord connected.
Message your bot directly in Discord:
"Hello — what can you do?"
The bot will reply with a list of its capabilities. You're connected.
What's the weather today?
Summarize what I should focus on today
Open https://clawcloud.ai and screenshot the homepage
List files in my workspace
For cleaner organization, create a dedicated channel (e.g. #ai-agent or #claw) and configure your bot to only respond there:
#ai-agent channelThis keeps AI conversation separate from team chat while keeping it accessible in the same server.
Your agent can send unprompted messages — morning briefings, sales alerts, task completion notices. These always land in your configured Discord channel.
To enable the morning briefing:
"Send me a morning briefing at 7am EST every weekday: weather, calendar, any flagged emails, and a task suggestion"
Your agent will set this up as a recurring task. At 7am, it posts in your channel automatically.
Bot doesn't respond: Check that Message Content Intent is enabled in the Developer Portal. Without it, the bot receives messages but can't read their content.
Token invalid error: The token may have been exposed (Discord scans and revokes exposed tokens). Go to Developer Portal → Bot → Reset Token, then update it in your ClawCloud dashboard.
Bot offline: Check your server status in the ClawCloud dashboard. If the status shows DEPLOYING, wait for it to reach ACTIVE.
Your agent is in Discord. Message it the way you'd message anyone else.