Introducing the YouTube Subscriber Verifier bot! This Bot allows users to verify their YouTube subscription by uploading images. The bot checks for specific keywords or channel names in the image, assigns roles, and optionally saves user data. Ensure your bot's configuration is set correctly to use this feature! 🚀📸
The YouTube Subscriber Verifier is a Discord bot designed to verify if users have subscribed to a specified YouTube channel. It analyzes images uploaded by users to check for text that matches the channel's name or specific keywords. If a match is found, it grants a role to the user in the Discord server. The bot also supports saving subscriber data for record-keeping. 📜
subscriber.json
file. 💾npm
or yarn
for managing packages 📦Clone the repository:
git clone https://github.com/devuuuxd/YouTube-Subscriber-Verifier.git
cd YouTube-Subscriber-Verifier
Install dependencies:
npm install
Create a config.js
file in the root directory with the following content:
module.exports = {
token: "YOUR_BOT_TOKEN_HERE", // Add your bot's token here
channel_name: "@devuuuu_xd", // Specify your YouTube channel's name here
role_id: "YOUR_ROLE_ID_HERE", // ID of the role to be given
keywords: "SUBSCRIBED", // Specify the keywords for analyzing the image
save_data: "false" // Set to "true" to save data in subscriber.json, "false" otherwise
};
Run the bot:
node index.js
Setting Up: Ensure that your bot has the necessary permissions in your Discord server, including managing roles and sending messages. 🛠️
Bot Behavior: The bot will:
Verify Command:
/verify
in a channel where the bot is present.Response:
config.js
is correct.For any questions or support, please open an issue on the GitHub repository or contact me directly on our Team's Discord Server Kronix Development.
Happy verifying! 🎉