Skip to main content
Read and send Discord messages, edit or delete messages, add reactions, create threads and polls, and inspect guilds. The action names follow OpenClaw; members and server-info are Mirage extensions.

Setup

Configure a bot token and its permissions with Discord setup.
No service mount is required. For YAML and multiple accounts, see the CLI overview.

SKILL.md

The SKILL.md an agent reads with discord installed.
Available commandsThese commands are registered with this shell; --help after a command or subcommand shows its usage.discord

Supported commands

Run discord <command> --help for the supported flags and operands. This list is generated from Mirage’s registered command tree.

Usage

Messages

edit works only on messages authored by the bot. Channel, guild and message arguments are Discord snowflake IDs; send --file reads a workspace path and attaches it.
Omit --message on thread-create to create a standalone thread. Repeat --answer for each poll option; --multiselect allows multiple choices. Responses are JSON.

Behavior

The optional Discord VFS exposes the guild’s channels and messages as files. Use the IDs in its name__id path segments with the CLI. Registration remains independent of the mount, and command policy controls service writes. Only the listed actions are implemented.

License

See compatibility and licenses.