Welcome to the Discord Bot for YouTube Search template! This template allows you to create a Discord bot that automatically searches for new YouTube videos based on a specific keyword or tag and posts them to a Discord channel on an hourly basis. This is perfect for communities that want to stay updated on the latest content related to their interests.
To begin using this template, simply click on the "Start with this Template" button. This will initialize the template within the Lazy platform, pre-populating the code in the Lazy Builder interface.
Before you can use the bot, you'll need to set up some environment secrets within the Lazy Builder. These secrets include:
To set these up, navigate to the Environment Secrets tab within the Lazy Builder and enter the corresponding values for each secret.
Once you have configured the environment secrets, press the "Test" button to deploy the app. The Lazy CLI will handle the deployment, and you won't need to worry about installing libraries or setting up your environment.
There is no user input required through the CLI for this template, as all necessary configurations are handled through environment secrets.
After pressing the "Test" button and deploying the app, the bot will start running on the Lazy platform. It will automatically check for new YouTube videos every hour and post them to the specified Discord channel if they match the search query and title keyword criteria.
To integrate the bot into your Discord server, you will need to invite the bot using the Discord Developer Portal. Here are the steps to do so:
Once the bot is part of your server and the app is running on Lazy, it will begin its hourly search for new videos and share them in the designated channel.
If you need further assistance or have any questions, the Lazy platform provides support to help you get the most out of your new Discord bot for YouTube searches.