An example of building your first discord bot with Python
"discord"
pip install discord
You need to build an application in Discord
From this link you can create an application: Discord application
Then go to the Bot section in the left panel and click on the blue add bot button, you can leave a profile picture for your bot.
Below the bot is a token name, copy it and paste it in the Python file in the class CONFIG
Scroll down and enable the administrator option in the bot permission section.
In the left panel, go to the OAuth2 section and scroll down. In the OAuth2 URL Generator section, select the bot option. Scroll down and activate the administrator option.
A link is created for you that you can use to invite your bot to the server you want.
▪ 8ball
▪ ping
▪ kick
▪ ban
▪ clear