discord
Post announcements and messages to Discord channels. Use when sharing updates, releases, or team communications.
от civitai★ 7 333 звезды на GitHub
Установить discord в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Discord
Post messages and announcements to Discord channels via the REST API. Navigate channels by name, send formatted messages with embeds, manage reactions, threads, and more.
Setup
Run the setup script to authenticate via Discord:
node .claude/skills/discord/setup.mjs https://discord-proxy.civitai.com
This will:
- Open your browser for Discord authentication
- Verify you're in the team server
- Save your personal API token to
.env
Admin Only: Direct Bot Token
If you manage the bot directly and need to bypass the proxy:
- Copy
.env.exampleto.envin this skill directory - Uncomment and set
DISCORD_BOT_TOKEN - Optionally set
DISCORD_GUILDfor auto-detection
cp .claude/skills/discord/.env.example .claude/skills/discord/.env
Running Commands
node .claude/skills/discord/query.mjs <command> [options]
Commands
| Command | Description |
|---|---|
guilds |
List all guilds (servers) the bot is in |
channels [guild] |
List text channels in a guild |
send <channel> "message" |
Send a plain text message |
announce <channel> "message" |
Send a formatted announcement embed |
me |
Show bot information |
users |
List all members in the guild |
user <name|id> |
Get user info and mention format |
roles |
List all roles in the guild |
role <name|id> |
Get role info and mention format |
messages <channel> |
Get recent messages from a channel |
edit <msg_link> "content" |
Edit a message (bot's own only) |
delete <msg_link> |
Delete a message |
reply <msg_link> "content" |
Reply to a message |
rich-embed <channel> |
Send embed with structured fields |
react <msg_link> <emoji> |
Add reaction to a message |
unreact <msg_link> <emoji> |
Remove reaction from a message |
pin <msg_link> |
Pin a message |
unpin <msg_link> |
Unpin a message |
pins <channel> |
List pinned messages in a channel |
thread <channel> --thread "name" |
Create a thread |
dm <user> "message" |
Send a direct message to a user |
dm-messages <user> |
Read DM history with a user |
Options
| Flag | Description |
|---|---|
--json |
Output raw JSON response |
--title "text" |
Set embed title |
--color <hex> |
Set embed color (default: #1E88E5 blue) |
--footer "text" |
Set embed footer text |
--url "link" |
Add a URL to the embed title |
--limit, -n <N> |
Limit results (users: default 100, messages: default 20) |
--field "Name|Value|inline" |
Add field to rich embed (repeatable) |
--thumbnail "url" |
Add thumbnail image to embed |
--image "url" |
Add large image to embed |
--thread "name" |
Thread name (for thread command) |
Examples
Send Messages
# Send to channel by name
node .claude/skills/discord/query.mjs send dev-general "Deployment complete!"
# Send to channel by ID
node .claude/skills/discord/query.mjs send 966054537880289330 "Build passed"
Send Announcements
# Basic announcement with auto-formatting
node .claude/skills/discord/query.mjs announce dev-alerts "New feature deployed!"
# Announcement with custom title and color
node .claude/skills/discord/query.mjs announce deployments "v5.0.1381 released" --title "Release" --color "#00C853"
Rich Embeds with Fields
# Structured release announcement
node .claude/skills/discord/query.mjs rich-embed dev-general "New release is live!" \
--title "Release v5.0.1382" \
--field "Version|5.0.1382|inline" \
--field "Author|@jane|inline" \
--field "Changes|3 files modified" \
--footer "Civitai" \
--color "#00C853"
Edit Messages
# Edit using message link
node .claude/skills/discord/query.mjs edit "https://discord.com/channels/955.../966.../123..." "Updated content"
# Edit using channel + message ID
node .claude/skills/discord/query.mjs edit dev-general 1234567890 "Updated content"
Delete Messages
# Delete using message link
node .claude/skills/discord/query.mjs delete "https://discord.com/channels/955.../966.../123..."
# Delete using channel + message ID
node .claude/skills/discord/query.mjs delete dev-general 1234567890
Reply to Messages
# Reply using message link
node .claude/skills/discord/query.mjs reply "https://discord.com/channels/955.../966.../123..." "Thanks for the update!"
# Reply using channel + message ID
node .claude/skills/discord/query.mjs reply dev-general 1234567890 "Got it!"
Reactions
# Add a reaction (use Unicode emoji)
node .claude/skills/discord/query.mjs react "https://discord.com/channels/..." "U+2705"
node .claude/skills/discord/query.mjs react dev-general 1234567890 "U+1F44D"
# Remove a reaction
node .claude/skills/discord/query.mjs unreact "https://discord.com/channels/..." "U+2705"
Pin/Unpin Messages
# Pin a message
node .claude/skills/discord/query.mjs pin "https://discord.com/channels/..."
#
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .env.example
- .gitignore
- api/client.mjs
- query.mjs
- setup.mjs
FAQ
Что делает скилл discord?
Post announcements and messages to Discord channels. Use when sharing updates, releases, or team communications.
Как установить скилл discord?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл discord запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…