Discord Bot
Use Discord Bot from your AI agent through ClawLink — browser login, no API key to paste, no config to edit. Connect Discord Bot once and the agent can read and act on it. Works in any agent that can run shell commands (Claude Code, Cursor, Codex, Cline, and more).
Setup
Run these once — the agent can run them for you:
npx @useclawlink/cli login # opens browser → approve (mints + stores a key)
npx @useclawlink/cli connect discord-bot # opens browser → authorize Discord Bot
No API key to create or paste — login stores the credential at ~/.clawlink/credentials.json.
Using Discord Bot
npx @useclawlink/cli actions discord-bot "<what you want to do>" # find an action
npx @useclawlink/cli describe discord-bot <action-id> # see its inputs (before writes)
npx @useclawlink/cli run discord-bot <action-id> --input '<json>' # execute
Reads first; confirm with the user before any write.
Available actions
Run npx @useclawlink/cli actions discord-bot to see every available Discord Bot action.
Notes
- No API key for Discord Bot itself — ClawLink holds the OAuth token; the agent only holds your ClawLink credential.
- Not connected yet, or access expired? Re-run
npx @useclawlink/cli connect discord-bot. - The action list above is a snapshot;
npx @useclawlink/cli actions discord-botis always current.
Resources
- ClawLink: https://claw-link.dev
- Docs: https://docs.claw-link.dev
- CLI: https://www.npmjs.com/package/@useclawlink/cli
Powered by ClawLink — connect 90+ apps to any AI agent.