Discord Advanced Operations

SkillCommunication

Advanced Discord server management via Discord API v10: send embeds, create channels, manage roles, moderation. Use when managing Discord server structure, sending rich embedded messages, or moderating users. Requires DISCORD_BOT_TOKEN.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Discord Advanced Operations skill

What this skill tells your AI

The instructions your AI receives, as published by openxjarvis/openclaw-python in skills/discord-adv/SKILL.md and read by ahel’s review.

Advanced Discord operations including server management, roles, channels, and moderation.

Available Tools

  • message: Send messages to Discord channels
  • discord_actions: Discord-specific operations
  • web_fetch: Access Discord API

Discord API

Base URL: https://discord.com/api/v10/

Common Operations

Send Message
POST https://discord.com/api/v10/channels/{channel_id}/messages
Headers:
  Authorization: Bot {DISCORD_BOT_TOKEN}
Body: {
  "content": "Message text",
  "embeds": [...]
}
Create Channel
POST https://discord.com/api/v10/guilds/{guild_id}/channels
Body: {
  "name": "channel-name",
  "type": 0
}
Add Role
PUT https://discord.com/api/v10/guilds/{guild_id}/members/{user_id}/roles/{role_id}
Create Embed
embed = {
    "title": "Embed Title",
    "description": "Embed description",
    "color": 3447003,  # Blue
    "fields": [
        {"name": "Field 1", "value": "Value 1", "inline": True}
    ],
    "footer": {"text": "Footer text"},
    "timestamp": "2026-01-27T00:00:00Z"
}

Usage Examples

User: "Send an embed to #announcements"

  1. Build embed structure
  2. POST to channels/{channel_id}/messages

User: "Create a new voice channel"

  1. Get guild ID
  2. POST to guilds/{guild_id}/channels with type=2

User: "Add moderator role to user"

  1. Find role ID
  2. PUT to add role

Environment Setup

export DISCORD_BOT_TOKEN="Bot ..."

Get token from: https://discord.com/developers/applications

Permissions

Bot needs appropriate permissions:

  • Manage Channels
  • Manage Roles
  • Send Messages
  • Embed Links
  • Attach Files

Signals

GitHub stars
67
Forks
23
Last commit
May 2026

ahel review

  • S4info
    community integration — published by openxjarvis, not discord

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
discord-adv
Source
github.com/openxjarvis/openclaw-python