Interactive Discord selfbot CLI.
npm install dsb-tuiAn interactive CLI Discord selfbot client built on discord.js-selfbot-v13.
Features:
- Full-screen TUI with a Discord-like layout
- Left pane lists guilds, channels, or DMs
- Vim-style command prompt for navigation
- Page Up loads older messages, Page Down jumps to latest
- Shows sticker names and attachment URLs
Self-bots are against Discord's Terms of Service. This project is for educational use only.
- Node.js 18+ (recommended)
- A Discord user token
``bash`
npm install -g dsb-tui
On first launch, you'll be prompted to paste your Discord user token. It will be saved locally so you do not need to set up .env files or flags.
To update the saved token later:
`bash`
dsb-tui token
Optional overrides:
- DISCORD_TOKEN environment variabledsb-tui --token YOUR_TOKEN
-
`bash`
dsb-tui
Type : to enter command mode, then press Enter.
Core commands:
- :g / :guilds - show guild list:dm
- / :dms - show DM list:channels
- - show channels in the selected guild:open
- - open the highlighted list item:search
- - filter the left list:clear
- - clear the filter:back
- - go back to guild list:help
- - show commands:top
- - jump to oldest visible message:bottom
- - jump to latest message:time
- - toggle message timestamps:date
- - toggle message dates:datetime
- - toggle date+time together:left
- - toggle left pane:zen
- - toggle zen mode (right pane only):quit
- - exit
Keys:
- ENTER - send message (chat mode) or run command (command mode)ENTER
- - open selected list item when input is emptyPage Up
- - load older messagesPage Down
- - jump to latestCtrl+Left / Ctrl+Right
- - switch pane focusUp/Down
- - left pane: move selection; right pane: scroll chatCtrl+P/Ctrl+N
- - move selection in the left paneHome/End
- - jump to top/bottom of chat viewLeft/Right
- - move cursorBackspace
- - deleteESC
- - clear input and return to chat mode
- The UI is a full-screen TUI and redraws on input or new messages.
- The token is stored at ~/.config/dsb-cli/config.json (or the XDG config dir on your system) to stay compatible with dsb-cli`.