Welcome to the Discord Welcome Bot template! This bot is designed to greet new members of your Discord server with a unique poem, creating a warm and personalized welcome experience. This article will guide you through the steps to set up and use this template on the Lazy platform.
Before we dive into the setup process, please ensure you have the following:
Now, let's get started with setting up your Discord Welcome Bot!
To begin, click on the "Start with this Template" button. This will initiate the template within the Lazy Builder interface, pre-populating the code for you.
Next, you'll need to set up environment secrets for your bot to function correctly. These are not set in your operating system but within the Lazy Builder itself. Here's how to do it:
These secrets are crucial for your bot's operation, as they allow it to authenticate with Discord and know where to send the welcome messages.
Once you have set your environment secrets, it's time to test your bot. Click the Test button to begin the deployment of your app. The Lazy CLI will launch, and you will be prompted for any required user input at this stage.
After the deployment is successful, the Lazy platform will provide you with a dedicated server link. This link is where your bot will be active and can interact with your Discord server.
To integrate the bot into your Discord server, follow these steps:
Remember, the bot will only be able to send messages to the channel specified by the 'WELCOME_CHANNEL_ID' environment secret.
With these steps completed, your Discord Welcome Bot is now set up and ready to greet new members with a unique poem. Enjoy creating a friendly and engaging environment for your server's newcomers!
If you need further assistance or have any questions, please refer to the documentation provided with the code or reach out for support.
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.