← ClaudeAtlas

discordsolid

Read, post, and react in the connected Discord server via the Discord REST API, and help the user invite the bot / finish setup. Use when the user asks to send a Discord message, list channels/servers, read or react to messages, or connect/invite the bot.
intentic/intentic · ★ 46 · AI & Automation · score 82
Install: claude install-skill intentic/intentic
# Discord (connected) Authenticated with a bot token in `$DISCORD_BOT_TOKEN`. Talk to Discord's REST API with `curl`. Base URL: `https://discord.com/api/v10`, Auth header: `-H "Authorization: Bot $DISCORD_BOT_TOKEN"`. ## Setup & invite (do this when the bot isn't in the user's server yet) Discord only lets a server admin add a bot via an OAuth consent link: generate that link for them: 1. Confirm the token works and get the bot user: `curl -s -H "Authorization: Bot $DISCORD_BOT_TOKEN" https://discord.com/api/v10/users/@me | jq '{id, username}'` 2. Get the application id (needed for the invite URL): `curl -s -H "Authorization: Bot $DISCORD_BOT_TOKEN" https://discord.com/api/v10/oauth2/applications/@me | jq '{id, name}'` 3. Give the user this invite link (they open it, pick their server, approve): `https://discord.com/oauth2/authorize?client_id=<APP_ID>&scope=bot&permissions=1117248` Permissions 1117248 = View Channels + Send Messages + Read Message History + Add Reactions + Connect (read/list/react/send + join voice channels to transcribe). 4. Tell them: in the Developer Portal → your app → Bot, enable the **Message Content** privileged intent (required to read message text; it can't be toggled via the API). Reading needs it; posting does not. Then confirm it landed: `curl -s -H "Authorization: Bot $DISCORD_BOT_TOKEN" https://discord.com/api/v10/users/@me/guilds | jq '.[] | {id, name}'` ## Common commands - List the bot's servers: `curl -s -H "Authorizat