Make A Discord Bot

Log in to your discord account and go to the developer portal.
Make a discord bot. Choose from over 300 commands to enable moderation utilities economy and more login with discord. Open the discord app and log in. Create the bot on discord. Give your application a desired name and click create.
Now our bot is created and we can continue with inviting it to our server. In the next section you ll learn how to make a discord bot in discord s developer portal. Put the bot in a discord channel. Creating discord bot on developer portal.
We will create a discord bot profile get authentication tokens for the bot and program the bot to process user submitted commands with arguments. In this article we will explain how you can make a discord bot from scratch using discord js and node js functions so that users can communicate directly with the discord api. Create the bot user on discord and register it with a guild. In the next step fill in some details regarding what this application is all about.
Test the bot works. For that we need to navigate to the oauth2 page. Head over to discord s bot portal and create a new application. There are two key steps when you re creating a bot.
After that we need to select the bot tab and click on add bot. However this isn t the bot just the application you ll have to add the bot under the bot tab. Write code that uses discord s apis and implements your bot s behaviors. Here you can create a new bot application.
Notice in the code above your bot actually runs with the last line of code. After creating our bot we can invite it using the oauth2 url generator. To connect to your bot and add it into your discord server you ll need to create an application in discord and then get your own discord bot token assigned to you. Download node js and set up a discord account node js is a javascript runtime that s free and open source and you ll need it to actually make your bot work.
You ll want to make a note of the client id and secret which you should keep a secret of course. Advanced auto moderation leveling twitch and youtube alerts much more. Creating a discord bot. Adding the bot to your server.