A simple Node.js application that allows you to send direct messages to all your friends on Discord using a self-bot client.
Warning: Self-botting is against Discord's Terms of Service. Use this tool at your own risk. I am not responsible for any account termination or other consequences resulting from the use of this tool.
- Send direct messages to all your Discord friends
- Automatic retry mechanism for failed messages
- Simple configuration
- Console logging with color-coded status messages
- Node.js (v16.9.0 or higher recommended)
- npm (comes with Node.js)
- A Discord account
- Clone or download this repository
- Navigate to the project directory
- Install dependencies:
npm install
-
Rename
.env.exampleto.envand add your Discord token:TOKEN=your_discord_token_hereNote: Never share your token with anyone
-
Edit
config.jsonto set your message:{ "message": "Your message here" }
-
Start the application:
npm start
or
node src/index.js
-
The bot will connect to your account and start sending messages to your friends.
- The script connects to Discord using your token
- It fetches your friends list
- For each friend, it:
- Creates a DM channel (if one doesn't exist)
- Sends the configured message
- Waits 1.5 seconds between messages to avoid rate limiting
- Retries up to 5 times if a message fails to send
To avoid being rate-limited or flagged by Discord, the script includes:
- A 1.5-second delay between messages
- Automatic retries with backoff for failed messages
This tool is for educational purposes only. Using self-bots violates Discord's Terms of Service and can result in account termination. Use this tool responsibly and at your own risk.
This project is for educational purposes only. Use at your own risk.
Contributions are not currently being accepted as this is a simple educational project.
For support, please open an issue on this repository.