YaourtBot

A discord simple bot by Lopinosaurus

Before using this code :

・Move env file to .env

・Change the channel ID on line 38 of bot.py to your #pick-a-role channel if you have one. If you don’t, just delete this line.

・Enter your bot’s token in .env

What does the bot do :

When a user join and send !yaourt, his nickname will be changed as a yogurt brand. No other member could then take this nickname, as it is deleted from the json database after summons.

On !yaourt command, the bot will return :

Bienvenue, @{member}, ton nom de yaourt est désormais "{yogurt brand}"

Then the bot will send the picture of the member’s yogurt, and the brand name is deleted from the json file.

Contact :

・Discord : Lopinosaurus#0404

GitHub

View Github