Creating A Bot
Now that we have our account with the server ready we can go ahead and create our first bot on the discord developer portal. The discord developer portal is a platform provided by discord for people who wants to extend the capabilities of discord and use it for building more cool stuff, one of the examples is creating bots.
Step 1: Login in Portal: Go to https://discord.com/developers/applications and login with your discord account in which the server you want to build a bot for is created.
Step 2: Application refers to new functionality. For example, Bot. Click on new Application to initialize your first bot, choose a name for your application. Remember the name of the application will be the name of your bot.
Step 3: Creating a Bot click on Bot in the left sidebar and click on Add Bot.
Step 4: A popup will open which will ask you if you really want to add a bot click on Yes, Do it.
Step 5: Copy the token with the COPY button given below this token is used to authorize programs with discord.
Note: Never Share your token with anybody!
Creating a Discord Bot in Python
If you are familiar with online communities and if you are a part of one or you own one, you must have heard about discord and in discord, you may have seen bots managing those communities. So in this article, we are going to set up our discord developer portal account and will create a discord bot. A minimal bot with basic functionalities and if you want you can always extend the functionalities of this bot according to your needs.