discord-cli
Manage Discord from the command line — auth, users, guilds and messages — with a single small Node entry point and no heavy SDK.
Install
npm install -g discord-cli Stack
Why
The official tooling is built for bots running as servers. discord-cli is built for
the other case: you want to send one message, list the members of a guild, or check
auth from a shell script or a CI job — and then exit.
What it does
- Auth — store and verify a token without touching a bot process.
- Users & guilds — inspect members, roles and channel layouts.
- Messages — send, list and read from any configured channel.
- Meta — version, environment and config checks for pipelines.
Design
One binary, thin layers: bin/ parses flags and dispatches, src/commands/ holds one
file per command group, src/cli/ owns output and error formatting, and src/i18n.js
keeps every user-facing string in a single catalog (en, pt-BR, fr, es).
No framework, no runtime dependency tree to audit — the whole surface fits in a handful of files, which is the point.