dsb-cli
v1.0.2
Published
Interactive Discord selfbot CLI.
Readme
notice
dsb-cli is no longer maintained. please use the newest dsb-tui instead which is an upgraded cli experience at https://www.npmjs.com/package/dsb-tui
discord-selfbot-cli
An interactive CLI Discord selfbot client built on discord.js-selfbot-v13.
Features:
- Channel mode with raw key input, partial text, and minimal flicker
- Browse guilds/channels or DMs with step-by-step selection
- Page Up loads older messages in channel mode
- 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-cliFirst 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 tokenOptional overrides:
DISCORD_TOKENenvironment variabledsb --token YOUR_TOKEN
Run
dsbCommands
Command mode:
help- show helpguilds [query]- list or search guildschannels <guildId> [query]- list or search channels in a guilddms [query]- list or search DM channelsselect <channelId>- enter channel mode for a channelbrowse [query]- browse guilds (optionally filtered), then channelsbrowse-dms [query]- browse DM channels (optionally filtered)token- update the saved tokenquit- exit
Channel mode:
ESC- exit channel modeENTER- send messagePage Up- load older messagesLeft/Right- move cursorBackspace- delete
Notes
- The CLI clears the screen on new messages or after sending to reduce flicker.
- The token is stored at
~/.config/dsb-cli/config.json(or the XDG config dir on your system).
