Interactive CLI for Discord channel permission and member management. Replace tedious web UI navigation with fast, keyboard-driven permission control.
npm install -g discord-channel-cliOr run directly with npx:
npx discord-channel-cli- Create a Discord bot at the Discord Developer Portal
- Enable the Server Members Intent under Bot settings
- Invite the bot to your server with
Manage RolesandManage Channelspermissions - Create a
.envfile in your working directory:
DISCORD_TOKEN=your_bot_token_here
DISCORD_GUILD_ID=your_server_id_here- Run the CLI:
discord-perms- View all permission overwrites on any channel
- Add, edit, or remove role/member permission overwrites
- Three-state permission selector (Allow / Deny / Inherit)
- Copy permissions from one channel and paste to another
- Search members by username
- View and modify member roles
- Copy/paste role sets between members
- Browse member message history
- Fuzzy search for channels, roles, and members
- Vim-style
/regexfiltering - Keyboard-driven navigation (arrow keys, escape to go back)
- Debug mode with
--debugflag
# Start interactive mode
discord-perms
# Start with debug logging
discord-perms --debug- Arrow keys: Navigate menus
- Enter: Select
- Escape: Go back
- Type: Filter/search
- Ctrl+C twice: Exit
- Node.js 20.0.0 or higher
- Discord bot token with appropriate permissions
- Bot must be in the target server
Manage Roles- For role assignmentManage Channels- For permission overwritesRead Message History- For message browsing
- Server Members Intent - For member lookup (enable in Developer Portal)
ISC