一键导入
discord-send-message
Send messages to Discord channels via the Discord API. Use this skill when the user wants to send text messages, notifications, or formatted content to a Discord channel.
菜单
Send messages to Discord channels via the Discord API. Use this skill when the user wants to send text messages, notifications, or formatted content to a Discord channel.
Create new channels in Discord guilds/servers via the Discord API. Use this skill when the user wants to create text channels, voice channels, announcement channels, or categories in a Discord server.
Retrieve messages from Discord channels via the Discord API. Use this skill when the user wants to read, search, or analyze messages from a Discord channel.
List all channels in a Discord guild/server via the Discord API. Use this skill when the user wants to see all channels, find specific channels, or audit server structure.
Manage and update Discord channels via the Discord API. Use this skill when the user wants to modify channel properties, update names/topics, change permissions, or delete channels.
| name | discord-send-message |
| description | Send messages to Discord channels via the Discord API. Use this skill when the user wants to send text messages, notifications, or formatted content to a Discord channel. |
Send messages to Discord channels using the Discord API v10. This skill supports plain text messages, formatted markdown content, and embeds.
Use this skill when the user wants to:
DISCORD_BOT_TOKEN environment variable must be setWhen the user requests to send a Discord message:
Validate Requirements
DISCORD_BOT_TOKEN is set in environmentPrepare the Message
Make the API Request Use the following curl command structure:
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": "Your message here"}'
Replace:
{CHANNEL_ID} with the actual channel ID"Your message here" with the actual message contentHandle Response
Report Results
{
"content": "Hello from Claude Code!"
}
{
"content": "**Bold text** *Italic text* `code` [Link](https://example.com)"
}
{
"embeds": [{
"title": "Notification",
"description": "This is an embed message",
"color": 3447003,
"fields": [
{
"name": "Field Name",
"value": "Field Value",
"inline": false
}
]
}]
}
{
"content": "Check out this embed:",
"embeds": [{
"title": "Title",
"description": "Description"
}]
}
Before sending:
401 Unauthorized
DISCORD_BOT_TOKEN is set correctly403 Forbidden
404 Not Found
400 Bad Request
See examples.md for detailed usage scenarios.
POST /channels/{channel.id}/messages