A Discord bot for sending a large number of direct messages to someone and trolling your friends.
This project is written in Python and Golang (for speed and efficiency). 🚀
If you want to run it yourself, you can follow the steps below: 👇
Start by cloning the project repository: 📂
git clone https://github.com/M-logique/DM-Spammer-Bot(Or download the ZIP file from GitHub. 📦)
Navigate to the project directory: 🏃♂️
cd DM-Spammer-BotFill in the .env file with the required environment variables and paste your tokens into the tokens.txt file. 📝
Install Docker by following the instructions in the official Docker documentation.
To start the project using Docker Compose, run:
docker compose up -d- It's recommended to use a virtual environment (
venv) to manage dependencies.
Setting up a virtual environment:
python3 -m venv .venvActivate the virtual environment:
For Linux/macOS: 🐧🍏
source .venv/bin/activateor
.venv/bin/activateFor Windows: 🪟
.\.venv\Scripts\activateInstall the required Python packages using pip: 🧰
python3 -m pip install -r requirements.txtRun the application by executing the main Python script:
python3 main.pySince the bot uses shared files that are already compiled, some users may prefer not to use these precompiled files for personal or security reasons. 🔒
- If you wish, you can build the
spammer.sofile yourself using the following steps:
Install Go (Golang) by following the instructions in the official Go documentation.
Ensure that gcc (GNU Compiler Collection) is installed on your system. Follow the instructions below based on your operating system:
-
For Debian/Ubuntu-based systems: 🐧
sudo apt-get install gcc
-
For Red Hat/CentOS-based systems: 🐧
sudo yum install gcc
-
For macOS: 🍏
xcode-select --install
-
For Windows: 🪟 You can install
gccon Windows by installing MinGW-w64, which provides a GCC toolchain for Windows.- Visit the MinGW-w64 downloads page.
- Download the appropriate installer (e.g.,
mingw-w64-install.exe). - Run the installer and select the architecture (32-bit or 64-bit) and version of GCC you want to install.
- Follow the installation instructions, and add the
bindirectory of MinGW to your system'sPATHenvironment variable. For example,C:\Program Files\mingw-w64\bin.
To verify that
gccis installed correctly, open a Command Prompt and run:gcc --version
Move to the Go source directory within the project:
cd DM-Spammer-Bot/go_spammerCompile the Go code into a shared object file (spammer.so). This file will be placed in the shared directory of the project. Run the following command:
go build -o ../shared/spammer.so -buildmode=c-shared main.go-
Make sure your Go environment is properly set up. You can verify this by running
go versionto check if Go is correctly installed and available in your system'sPATH. -
The
-buildmode=c-sharedflag is used to generate a shared object file that can be loaded and used by other programming languages such as Python. 🐍 -
After building, you can verify that the new
spammer.sofile is created in theshareddirectory. The bot will now use this freshly built file instead of the precompiled one. ✔️
This bot is intended for educational and testing purposes only. Misusing this tool to spam or harass others is against Discord's Terms of Service and could result in your account being banned. 🚫 Use it responsibly! 🙏