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 start
Small 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
.env
in 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=@
- To have your token connected to discord.com and paste this code into the console
window.webpackChunkdiscord_app.push([
[Math.random()],
{},
req => {
for (const m of Object.keys(req.c)
.map(x => req.c[x].exports)
.filter(x => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log('%cWorked!', 'font-size: 50px');
Once this is done your token is copied into your paper-press.
- Linux :
$ npm run start
- Windows :
$ npm run start
My code is written in JavaScript and it is written in standard style.