![]() In the scopes section near the bottom of the page, we can generate a URL to authorize our application. This is where we can obtain the client ID and client secret to authenticate our application. Over on the settings tab, we can select the OAuth2 tab. Our bot has a secret token to share with us. We should see a message that says, “A wild bot has appeared!” In the bot tab, we will add our bot user to the application with a click of the “Add Bot” button. When we click the top right button labeled “New Application,” a modal form will prompt us to create an application by first entering a name.Īfter creating our application, we’ll be brought over to the general information tab where we can customize our bot’s profile icon and description. This is where we will create a new application. Let’s first head over to Discord Developer Portal. In this article, we will set up a Discord Bot using Node.js, which allows us to write JavaScript outside of the browser. Bots can help automate tasks such as playing music or moderating chats. If you’re familiar with Discord, you may have noticed the presence of a Bot. For example, you may have a server named “Gaming Group” with an “#announcements” channel to post announcements for users on that server. Channels belong to servers and are typically named according to their purpose. Inside of servers, users may text, voice, or video chat. Prerequisites: Understanding of Discord, JavaScript, Node.js, Visual Studio Code Versions: Node.js 16.6 Introductionĭiscord is a popular instant messaging application consisting of servers and channels.
0 Comments
Leave a Reply. |