In this article, I’ll show you how to:
Here’s a sneak peek of the final result.
Gif of the Coronavirus Discord Bot — Created by Author.
Make sure you have these:
Create an application in the Discord Developer Portal
Once it’s created, you should see the Client ID. This will be used later on to connect the app to a discord server.
Before we can connect our application, we need to create a Bot.
Select Bot from the left menu, and then click Add Bot.
Screenshot of the Discord Developer Portal
When the Bot is created, you should be able to click to reveal its access token. This token is used to connect the Bot to our code.
Screenshot of the Discord Developer Portal
#nodejs #javascript #discord #covid 19