Simple Python Discord bot
This simple bot sends an welcome message to a specific channel and DMs the new member. The new member then needs to verify with a command and a random generated code.
After verification, the user will receive a role.
Note: This is a self hosted bot, so you'll need to host it by yourself.
Create an application at https://discord.com/developers/applications
Make sure to add the SERVER MEMBERS INTENT.
After that, run pip3 install discord.py datetime os json random asyncio Pillow
. (Please tell me if I forgot something. Just DM me on Discord: #1)
Then, open the main.py file in an editor and add your token at the top:
After that, go into the cogs folder and change the variables at the top after the imports (in welcome.py):
Then, run the bot with python main.py (it also can be python3 main.py)
When you can find any sort of bug, create an Issue or DM me on Discord.