A Discord bot designed to verify new Discord members by linking their Discord accounts with their Minecraft accounts.
-
User Verification:
New Discord server members can verify their identity by linking their Discord account to their Minecraft account using the/verifycommand. Members have only 3 attempts; if exceeded, they will be rate limited for 5 minutes before they can try again. -
User Unverification:
Verified members can unverify themselves at any time.
-
Clone the repository:
git clone https://github.com/Cl0udyHi/Discord-Verification-Bot.git cd Discord-Verification-Bot -
Install dependencies:
npm install
-
Configure the bot:
- Add your bot token to the
.envfile:BOT_TOKEN=<YOUR_BOT_TOKEN>
- Add your server ID, bot ID, and verification role ID in the
data.jsonfile:{ "guild_id": "<SERVER_ID>", "bot_id": "<YOUR_DISCORD_BOT_ID>", "verify_id": "<VERIFICATION_ROLE_ID>" }
- Add your bot token to the
-
Run the bot:
npm start
- When a new user joins, they must run the
/verifycommand to receive the verification role. - Upon successful verification, their Discord and Minecraft IDs are saved in
src/verify.json.
- This project is legacy code and may not reflect the latest best practices.
- For customizations or additional features, feel free to modify the source as needed.
This project is open-source. You are welcome to modify and use it as you wish.