discord
Installation
SKILL.md
Discord Direct API
Native OpenClaw Discord is session-bound. For cross-channel, use direct API.
Send Message
curl -X POST "https://discord.com/api/v10/channels/$CHANNEL_ID/messages" \
-H "Authorization: Bot $DISCORD_BOT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "<@USER_ID> message"}'
Get Channel ID
curl "https://discord.com/api/v10/guilds/$GUILD_ID/channels" \
-H "Authorization: Bot $DISCORD_BOT_TOKEN" | jq '.[] | {id, name}'
Related skills