This is a simple Discord bot script written in Java that allows you to send direct messages (DMs) to all members of a specific guild (server) on Discord. It uses the JDA (Java Discord API) library for Discord interaction.
Before using this bot, ensure you have the following:
- Java Development Kit (JDK) version 17 or above
- A Discord bot token (you can create one on the Discord Developer Portal)
-
Clone the repository to your local machine.
-
Compile and run the bot using the following commands:
gradle build java -jar build/libs/ADBOT-1.0.jar
-
Run the
ADBOT-1.0.jar
-
The bot will prompt you to enter your Discord bot token. Provide your token to proceed.
-
After successfully logging in, you can now send DMs to all members of a guild (server) by enter the guild ID when prompted. The bot will load all guild members and send the specified message to each member.
-
The bot will create a private channel with each user and send the specified message. The status of each message will be displayed in the console.
-
Go the the latest release page and download
pack.zip
(pack.zip
includedDMer-1.0.jar
andstart.bat
) -
Unzip the
pack.zip
-
Run the
start.bat
, and it should automaticly run -
The bot will prompt you to enter your Discord bot token. Provide your token to proceed.
-
After successfully logging in, you can now send DMs to all members of a guild (server) by enter the guild ID when prompted. The bot will load all guild members and send the specified message to each member.
-
The bot will create a private channel with each user and send the specified message. The status of each message will be displayed in the console.
Be aware that messaging or spamming users on Discord may violate Discord's Terms of Service. Use this bot responsibly and in compliance with Discord's guidelines. The developer is not responsible for any misuse or consequences of using this bot.