Then on the left-hand facet click on “OAuth2.” From right here, you need to specify what sort of application you are growing. Press “Bot” after which replica the URL it generates. This have to lead you to a page that lets you upload the bot to any of the servers you manipulate. From right here you may pick which server you want to feature the bot to.
You’ll want to take the Token you acquire earlier and store it as a NotePad report right into a folder to your bot. This record ought to be titled “auth.json” and need to be written as follows:
You’ll need to create greater files to run your bot.
One ought to be stored as package.json with the following code:
“description”: “[something you want the description to be]”,
“writer”: “[your discord username]”,
For the very last code, you have to call the report “bot.js.” here is where you want to location all your primary functions for the bot. ideally, you’ve got some expertise of coding so you can customize the bot in a manner that you want.