How to Make A Discord Bot (Rewrite - 2021) Part 1
I'm pretty sure many of you GAMERS use Discord and are aware of things called 'bots'.Did you know you can just make it with python :o .Today, I will be teaching you all over How to make a Discord Bot in Python.Do note that we will be using Python 3 and also the Rewrite Branch of Discord (Not Async).
Firstly, we have to first make the bot application first. So follow these steps to start up with your first bot.
Part 1a - Setting up Bot
- Head over to Discord Developers Portal
- Sign In with your discord account
- On the top right, Select "New Application"
- Give your application a name.(Doesn't need to be the bots name)
- On the Left-hand-side menu, go to "Bots" and Select "Build-A-Bot".
- Create a name - This will be the name of your bot so get a unique one
- Under the bots name, copy the token.(Don't Share this with anyone)
- Select "OAuth2" under the left-hand-side menu
- Under "Scopes" choose bot and under "Bot Permissions" choose Administrator
- Copy the link generated and paste it in your browser. This is to invite the bot to your server.(You need Admin Roles to invite your bot)
- Once you are finished, you should see your bot pop up under members of your server
And that's it for this tutorial, stay tuned for the Part 2!
If you encountered any problems along the way, feel free to voice it out in the comments section below.