MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Discord Automation

Discord Automation is an productivity AI skill with a core value of Automate Discord tasks via Rube MCP (Composio): messages, channels, roles, webhooks, reactions. It helps developers solve real-world problems in the productivity domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Automate Discord tasks via Rube MCP (Composio): messages, channels, roles, webhooks, reactions. Always search tools first for current schemas.

Last verified on: 2026-07-08

Quick Facts

Category productivity
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-08
Risk Level Low
mkdir -p ./skills/discord-automation && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/discord-automation/SKILL.md -o ./skills/discord-automation/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Discord Automation via Rube MCP


Automate Discord operations through Composio's Discord/Discordbot toolkits via Rube MCP.


Prerequisites


- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)

- Active Discord connection via `RUBE_MANAGE_CONNECTIONS` with toolkits `discord` and `discordbot`

- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas


Setup


**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.



1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds

2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `discordbot` (bot operations) or `discord` (user operations)

3. If connection is not ACTIVE, follow the returned auth link to complete Discord auth

4. Confirm connection status shows ACTIVE before running any workflows


Core Workflows


1. Send Messages


**When to use**: User wants to send messages to channels or DMs


**Tool sequence**:

1. `DISCORD_LIST_MY_GUILDS` - List guilds the bot belongs to [Prerequisite]

2. `DISCORDBOT_LIST_GUILD_CHANNELS` - List channels in a guild [Prerequisite]

3. `DISCORDBOT_CREATE_MESSAGE` - Send a message [Required]

4. `DISCORDBOT_UPDATE_MESSAGE` - Edit a sent message [Optional]


**Key parameters**:

- `channel_id`: Channel snowflake ID

- `content`: Message text (max 2000 characters)

- `embeds`: Array of embed objects for rich content

- `guild_id`: Guild ID for channel listing


**Pitfalls**:

- Bot must have SEND_MESSAGES permission in the channel

- High-frequency sends can hit per-route rate limits; respect Retry-After headers

- Only messages sent by the same bot can be edited


2. Send Direct Messages


**When to use**: User wants to DM a Discord user


**Tool sequence**:

1. `DISCORDBOT_CREATE_DM` - Create or get DM channel [Required]

2. `DISCORDBOT_CREATE_MESSAGE` - Send message to DM channel [Required]


**Key parameters**:

- `recipient_id`: User snowflake ID for DM

- `channel_id`: DM channel ID from CREATE_DM


**Pitfalls**:

- Cannot DM users who have DMs disabled or have blocked the bot

- CREATE_DM returns existing channel if one already exists


3. Manage Roles


**When to use**: User wants to create, assign, or remove roles


**Tool sequence**:

1. `DISCORDBOT_CREATE_GUILD_ROLE` - Create a new role [Optional]

2. `DISCORDBOT_ADD_GUILD_MEMBER_ROLE` - Assign role to member [Optional]

3. `DISCORDBOT_DELETE_GUILD_ROLE` - Delete a role [Optional]

4. `DISCORDBOT_GET_GUILD_MEMBER` - Get member details [Optional]

5. `DISCORDBOT_UPDATE_GUILD_MEMBER` - Update member (roles, nick, etc.) [Optional]


**Key parameters**:

- `guild_id`: Guild snowflake ID

- `user_id`: User snowflake ID

- `role_id`: Role snowflake ID

- `name`: Role name

- `permissions`: Bitwise permission value

- `color`: RGB color integer


**Pitfalls**:

- Role assignment requires MANAGE_ROLES permission

- Target role must be lower in hierarchy than bot's highest role

- DELETE permanently removes the role from all members


4. Manage Webhooks


**When to use**: User wants to create or use webhooks for external integrations


**Tool sequence**:

1. `DISCORDBOT_GET_GUILD_WEBHOOKS` / `DISCORDBOT_LIST_CHANNEL_WEBHOOKS` - List webhooks [Optional]

2. `DISCORDBOT_CREATE_WEBHOOK` - Create a new webhook [Optional]

3. `DISCORDBOT_EXECUTE_WEBHOOK` - Send message via webhook [Optional]

4. `DISCORDBOT_UPDATE_WEBHOOK` - Update webhook settings [Optional]


**Key parameters**:

- `webhook_id`: Webhook ID

- `webhook_token`: Webhook secret token

- `channel_id`: Channel for webhook creation

- `name`: Webhook name

- `content`/`embeds`: Message content for execution


**Pitfalls**:

- Webhook tokens are secrets; handle securely

- Webhooks can post with custom username and avatar per message

- MANAGE_WEBHOOKS permission required for creation


5. Manage Reactions


**When to use**: User wants to view or manage message reactions


**Tool sequence**:

1. `DISCORDBOT_LIST_MESSAGE_REACTIONS_BY_EMOJI` - List users who reacted

🎯 Best For

  • Claude users
  • Knowledge workers
  • Remote teams
  • Professionals

💡 Use Cases

  • Using Discord Automation in daily workflow
  • Automating repetitive productivity tasks

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Discord Automation to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

How do I install Discord Automation?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/discord-automation/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills