How to make a discord bot? Create a discord bot in 2 minutes & add it to your server.

What is a Discord Bot?

Discord bots come in all shapes and sizes and can be used for a wide variety of purposes, from policing user behaviour on your server, automatically removing penalties such as muting or banning players who cross the line, to playing music for everyone to enjoy. . The following instructions assume you already have a Discord account and server. If not, you should set this up at discordapp.com before proceeding. While Discord bots are written in JavaScript, you don't need to be an experienced coder to create them. In fact, the process is much less intimidating than you might imagine. Read on to learn how to make a Discord Bot that fulfils your request. This tutorial is intended for users running macOS or Windows operating systems.


Create a Discord Bot

1. Open a browser and navigate to the Discord Developer Portal for your server, logging in if necessary. -> https://discord.com/developers/applications

 2. Click on the "New application" button.

3. Enter a name for your new bot in the edit field and click the Create button.


4. Log in to the tab labelled Bot from the menu on the left side.

 
5. Press the Add Bot button.

6. Press the button that says Yes do it.

7. Log in to the menu named Bot in the picture and go down and open the three sections in the picture again. Otherwise your discord bot will not work.

8. The part that comes to the screen belongs to your discord bot page. The marked part is your discord bot token.

This token is so important that you can also call it your bot's access key, password. Never share your Discord bot token with anyone and do not use it on a platform where everyone can see it. If your bot token is captured by attackers, they can damage your discord servers.


How to Invite Your Discord Bot to Your Server?

1. Login to the Discord Developer Portal and select Applications from the left menu and click on your discord bot.



2. Again, log in to the URL Generator tab from the OAuth2 tab from the menu on the left side.



3. From the page that opens, select the boxes labelled bot and applications.commands from the SCOPES section. Then select the box that says Administrator from the box that opens at the bottom.



4. Scroll down a bit and the link at the bottom of the screen is the invite link to your discord bot. Copy and paste the link into a browser tab and add the bot by selecting your discord server.

How about giving your opinion by commenting on this post?

Previous Post Next Post