discord

Manage Discord channels, guilds, users, and messages via the Bot API.

76|18|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0-skills --skill discord
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discord
Source: https://github.com/vm0-ai/vm0-skills/tree/main/discord
Command: npx skills add https://github.com/vm0-ai/vm0-skills --skill discord

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill lets you interact with Discord channels, guilds, users, and messages via the Bot API using curl.

Core Features & Use Cases

  • Send messages to channels
  • Read messages from channels
  • Manage channels and get server info
  • Interact with users and roles for basic moderation tasks

Quick Start

bash -c 'curl -s "https://discord.com/api/v10/channels/${CHANNEL_ID}/messages" -H "Authorization: Bot ${DISCORD_BOT_TOKEN}" -H "Content-Type: application/json" -d '{"content":"Hello from bot!"}' | jq .

Frequently Asked Questions about discord

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send messages to a Discord channel using a bot?

Send messages to Discord channels using the Bot API with curl by calling the channel messages endpoint with your bot token in the Authorization header and the message content in JSON format. The API returns the sent message object with timestamp and ID.

What do I need to authenticate a Discord bot via curl?

Discord bot authentication requires a bot token stored in the DISCORD_BOT_TOKEN environment variable, passed as a Bearer token in the Authorization header of curl requests to the Discord API v10. Proper token handling prevents unauthorized access to your bot's resources.

Can I manage channels and retrieve server information programmatically?

Yes. Use curl with your bot token to create, edit, delete channels and retrieve guild information through the Discord API v10. The API returns JSON responses containing channel metadata, member lists, and server configuration data.

How do I read messages from a Discord channel with curl?

Read messages from Discord channels by making GET requests to the channel messages endpoint with your bot token authenticated in the Authorization header. The API returns a JSON array of message objects sorted by recency.

What are the rate limits I should be aware of when using the Discord Bot API?

The Discord API v10 enforces rate limits per endpoint and globally. Monitor response headers and implement backoff logic in curl requests to avoid hitting limits. Exceeding limits temporarily blocks further requests from your bot.

Can I perform moderation tasks like reacting to messages and managing roles?

Yes. Use the Discord Bot API via curl to react to messages, manage user roles, and interact with guild members for basic moderation. Actions execute through authenticated REST endpoints that modify server state and return confirmation responses.