| name | discord-send |
| description | Send a message to a Discord channel via the Discord REST API |
| metadata | {"CARNELIAN":{"emoji":"🎮","requires":{"env":["DISCORD_TOKEN"]},"primaryEnv":"DISCORD_TOKEN"},"carnelian":{"runtime":"node","version":"1.0.0","sandbox":{"network":"full","resourceLimits":{"maxMemoryMB":128,"maxCpuPercent":25,"timeoutSecs":15},"env":{"DISCORD_TOKEN":"${DISCORD_TOKEN}"}},"capabilities":["net.http"]}} |
discord-send
Send a message to a Discord channel via the Discord REST API.
Ported from CARNELIAN discord-actions.ts.
Input
{
channelId: string;
content: string;
replyToMessageId?: string;
}
Output
{
ok: true;
messageId: string;
channelId: string;
}
Notes
- Only
sendMessage is implemented in this wrapper
- For guild/moderation actions, use the full CARNELIAN tool
- Requires a Discord bot token with appropriate permissions
- Bot must have access to the target channel