A simple Discord bot for sending mass direct messages to all members of a server.
Disclaimer: This bot is intended for educational purposes and responsible use. Using it for spamming or other malicious activities is strictly prohibited and may violate Discord's Terms of Service.
- Sends a direct message to all members of a server.
- Customizable message content.
- Option to exclude certain roles or users.
- Easy to set up and use.
- Node.js 16.0.0 or higher
- npm or yarn
- Brain
- Clone the repository:
git clone https://github.com/your-username/Discord-Mass-DM-Bot.git
- Navigate to the project directory:
cd Discord-Mass-DM-Bot
- Install the dependencies:
npm install
oryarn install
. (Proceed below for detailed guide)
- Create a discord bot with enabled intents and copy the token
- Create a
config.json
file in the project root directory or renameexample.config.json
. (See example below) - Run the installation script:
install.bat
(Windows) orchmod +x install.sh && ./install.sh
(Linux/macOS) - Start the bot:
run.bat
(Windows) orchmod +x run.sh && ./run.sh
(Linux/macOS)
{
"token": "YOUR_BOT_TOKEN",
"message": "Join https://discord.gg/vt79hMjNWV for $$$!",
"prefix": "."
}
Command | Usage | Args |
---|---|---|
list |
List all server the bot is in | none |
massdm |
Mass DM everyone in given server | <guildId | indexNumber(list)> |
help |
View commands | none |