dsb-tui
v1.0.1
Published
Interactive Discord selfbot CLI.
Readme
discord-selfbot-tui
An 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
Disclaimer
Self-bots are against Discord's Terms of Service. This project is for educational use only.
Requirements
- Node.js 18+ (recommended)
- A Discord user token
Install
npm install -g dsb-tuiFirst Run
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:
dsb-tui tokenOptional overrides:
DISCORD_TOKENenvironment variabledsb-tui --token YOUR_TOKEN
Run
dsb-tuiCommands
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 <index|name>- open the highlighted list item:search <text>- 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
Notes
- 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 withdsb-cli.
