discord
Installation
SKILL.md
Discord automation with discord_cli.py
A bundled Python script that wraps the Discord REST API v10. Zero external dependencies — uses only Python stdlib (urllib, json, argparse).
Invoke as: python3 <path-to-skill>/scripts/discord_cli.py <command> <subcommand> [args]
Setup
1. Create a Discord bot
- Go to Discord Developer Portal → New Application
- Click Bot on the sidebar → click Reset Token → copy the token
- Critical: Scroll down to Privileged Gateway Intents and enable Message Content Intent — without this, message content will be empty in API responses
- Optionally enable Server Members Intent (needed for
user list)