This is a Discord bot built with Discord.js that provides a simple verification system using buttons.
- Allows users to verify themselves with a single click using a button.
- Assigns a specified role to verified users upon verification.
- Clone this repository to your local machine.
- Install the required dependencies using
npm install
. - Set up your Discord bot and obtain the bot token.
- Edit the
config.json
file and replace'YOUR_ROLE_ID_HERE'
with the ID of the role you want to assign to verified users. - Replace
'YOUR_BOT_TOKEN_HERE'
with your actual bot token in theindex.js
file. - Customize the bot prefix and activity status in
index.js
files if necessary.
- Run the bot using
node index.js
. - Invite the bot to your Discord server.
- Use the specified prefix followed by the
verify
command to initiate the verification process (.<prefix>verify
by default). - Users will receive a verification prompt with a button. Upon clicking the button, they will be assigned the specified role.
index.js
: Contains the main bot logic, including event handlers and button click actions.
- discord.js - Discord API wrapper for Node.js.
- discord-buttons - Library for creating buttons in Discord messages.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.