This is an example SelfBot code that uses the discord.js-selfbot-v13 library to connect to Discord with a user account. Some of the features include:
- Clearing messages from a user or channel
- Removing friends and friend requests
- Anti-DM to automatically leave as soon as someone adds you to a DM
- Additional options, such as opening all DMs (with friends) and deleting messages
The code also includes status updates and a menu to choose between different functions. You can customize the code to create a bot with features that best fit your needs.
The code uses the following libraries:
discord.js-selfbot-v13: A library that allows connecting to Discord using a user accountinquirer: A library for creating interactive console menusaxios: A library for making HTTP requestsfiglet: A library for converting plain text into ASCII art
-
Clone this repository
-
Install dependencies using
npm install -
Create a
config.jsonfile in the root directory with the following format:{ "token": "YOUR_DISCORD_TOKEN_HERE", "ativado": true }