VM0VM0
Integration

Discord

Send messages and manage Discord servers

Discord is a communication platform for communities. This skill enables your agent to send messages, manage channels, and interact with Discord servers.

Required Secrets

SecretDescription
DISCORD_BOT_TOKENBot token from Discord Developer Portal

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/discord
    environment:
      DISCORD_BOT_TOKEN: "${{ secrets.DISCORD_BOT_TOKEN }}"

Run

vm0 run my-agent "post an announcement" \
  --secrets DISCORD_BOT_TOKEN=xxx

Example Instructions

AGENTS.md
# Community Announcement Agent

You use Discord to post announcements.

## Workflow

1. Format announcement message
2. Post to #announcements channel
3. Add relevant reactions
4. Pin important messages

## Message Format

- Use embeds for rich content
- Include relevant links
- Mention roles when appropriate
AGENTS.md
# Moderation Assistant

You use Discord to moderate servers.

## Workflow

1. Monitor messages for violations
2. Issue warnings to users
3. Log moderation actions
4. Report to moderators

## Rules

- No spam or self-promotion
- Be respectful to others
- Follow channel topics