node.js (v16.14.0 or higher)
# Clone this repository
$ git clone https://github.com/CatalanNathan/Selfbot-Discord
# Go into the repository
$ cd SelfbotDiscord
# Install the dependencies
$ npm install --save-dev
# Start the selfbot
$ sudo npm startSmall reminder, the use of a selfbot is prohibited by discord themselves.
The question regarding "self bots" has come up here and there, and we'd like to make our stance clear:
Discord's API provides a separate type of user account dedicated to automation, called a bot account. Bot accounts can be created through the applications page, and are authenticated using a token (rather than a username and password). Unlike the normal OAuth2 flow, bot accounts have full access to all API routes without using bearer tokens, and can connect to the Real Time Gateway. Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is forbidden, and can result in an account termination if found. To read more click here
- Create a file called
.envin the root directory of the repository - Add the following lines to the file:
TOKEN=<your token>
MDP=<your password> # Optional (if you want to use cp_user...)
PREFIX_NORMAL=+
PREFIX_CRYPTO=!
PREFIX_FUN=&
PREFIX_HACKER=*
PREFIX_EMOTES=$
PREFIX_PERSO=%
PREFIX_INFOS=?
PREFIX_ADMIN=@
GROQ_API_KEY=<your groq api key>- To have your token connected to discord.com
- Press
F12and enable theToggle Device Toolbar - Go to the
Consoletab and paste the following code :
const iframe = document.createElement('iframe');
copy(JSON.parse(document.body.appendChild(iframe).contentWindow.localStorage.token))Once this is done your token is copied into your paper-press.
- Go to groq
- Login with your discord account
- Go to the
APItab - Copy your api key
- Paste it in your
.envfile
- Linux :
$ npm run start
- Windows :
$ npm run start
My code is written in JavaScript and it is written in standard style.

