Welcome to the GreetingBot template! This template provides you with a pre-built Discord bot that sends a "Hello World" message in response to any message or mention in your Discord server. It's a great starting point for creating a bot that welcomes new members or interacts with users in your community.
To begin using this template, simply click on "Start with this Template" on the Lazy platform. This will pre-populate the code in the Lazy Builder interface, so you won't need to copy, paste, or delete any code manually.
Before you can test and deploy your GreetingBot, you'll need to set up a couple of environment secrets within the Lazy Builder. These are the CLIENT_ID and BOT_TOKEN, which are essential for your bot to interact with the Discord API.
Once you have set up your environment secrets, you can press the "Test" button in the Lazy Builder. This will begin the deployment of your GreetingBot and launch the Lazy CLI. You will not be prompted for any additional user input at this stage, as the necessary information is already provided through the environment secrets.
After pressing the "Test" button and deploying your bot, you will receive a dedicated server link. Use this link to invite the GreetingBot to your Discord server. Once the bot is in your server, it will automatically respond with "Hello World" to any message or mention, showcasing its functionality.
To fully integrate the GreetingBot into your Discord server, follow these steps:
Remember, the GreetingBot is just a starting point. You can customize the bot's code to add more features, such as welcoming new members, responding to specific commands, or providing helpful information to your community members.
Enjoy building with the GreetingBot template and making your Discord server more interactive and welcoming!
The Discord bot monitors all messages in the server. If a message contains profanity, the bot deletes it and sends a warning to the channel. The bot also notifies the host about the deletion via a direct message. Additionally, the bot outputs a helpful error message to a channel if there is a permissions error, guiding the server admin to enable the required permission in the Discord Developer portal.