Files
opencli/src/clis/discord-app/README.md
T
jackwener be194a1849 refactor: rename discord → discord-app to distinguish from web version
Desktop Electron app adapters should use '-app' suffix when a web version also exists.
2026-03-18 22:43:26 +08:00

764 B

Discord Desktop Adapter

Control the Discord Desktop App from the terminal via Chrome DevTools Protocol (CDP).

Prerequisites

Launch with remote debugging port:

/Applications/Discord.app/Contents/MacOS/Discord --remote-debugging-port=9232

Setup

export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232"

Commands

Command Description
discord status Check CDP connection
discord send "message" Send a message in the active channel
discord read Read recent messages
discord channels List channels in the current server
discord servers List all joined servers
discord search "query" Search messages (Cmd+F)
discord members List online members