In the previous article, you can access and update your Google Spreadsheet using Python, and you have created our Telegram Bot and stored it on our Python password vault – keyring. Eventually, you can perform simple authentication with your Telegram Bot. This tutorial will teach you how to create a Discord bot and add it to your Discord server. Later on, you can update your user database (Google Spreadsheet) using the Discord bot you created.
Step 1: Go to the Discord developer portal and click the New Application button. You may need to log in to your Discord account.
Step 2: Create an application and give it a name.
Step 3: Move the Bot section.
Disable the public bot option and enable the message content intent option.
Step 4: Reset your Discord API key by pressing the Reset Token button.
Click Yes, do it!
Jot down your new API token.
Step 5: Go to the URL Generator under the OAuth2 section. Select bot.
Select the permissions as shown below.
A URL will be generated. Copy and paste it to your browser.
Step 6: Authorize the bot to your channel.
Congratulation! You have created your Discord bot successfully!
The following article will teach how to integrate Google Spreadsheet API with your Discord bot.
You will learn to send a command to your Discord bot to update your Google Spreadsheet.