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.

Supported commands

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

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.

VFS and limits

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. OpenClaw’s source uses the MIT license. Mirage’s command implementation is Apache-2.0; see compatibility and licenses.