Welcome to the step-by-step guide on how to use the Discord Custom Welcome Message Bot template on the Lazy platform. This template is designed to help you create a bot that welcomes new members to your Discord server with a unique poem. The bot is easy to set up and requires no coding experience. By following this guide, you'll be able to deploy your own welcome bot in no time.
To begin, click on the "Start with this Template" button. This will initialize the template within the Lazy Builder interface, pre-populating the code necessary for your welcome message bot.
Before you can test your bot, you need to set up two environment secrets that the bot requires to function:
To acquire these, you'll need to create a bot on the Discord Developer Portal and invite it to your server. Here are the steps:
After obtaining these values, enter them into the Environment Secrets tab within the Lazy Builder.
With the environment secrets set, you can now press the "Test" button. This will deploy your application and launch the Lazy CLI. The CLI will prompt you for any required user input.
Analyze the code to see if the code requires user input through the CLI. If the code does not prompt for user input, you can omit this section.
If the app hosts a frontend experience, this section will guide you through interacting with it. However, since this template is for a Discord bot, there is no frontend interface to discuss.
Once your bot is running, it will automatically send a welcome poem to new members who join your Discord server. If you need to change the welcome channel, use the provided command within your Discord server:
!set_welcome_channel #channel-name
Replace "#channel-name" with the actual channel you wish to set as the new welcome channel.
That's all there is to it! Your Discord Custom Welcome Message Bot is now set up and ready to greet new members with a poetic touch. Enjoy engaging your community with this unique and personal touch.
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.