🦰Setting up the bot
Last updated
Last updated
Creating your own bot
First create your own bot on the discord developer portal. You will see this screen below and click on New Application
Now give your bot a name, the name you it to be.
Now go to the OAuth2 -> Url Generator
to invite your bot. Select bot
and copy the generated url and paste it into your browser. And choose for Bot Permissions Administrator
.
Now on the page select in which server you would like to invite the bot. If your done with that, then start with configuring the bot.
To begin, open the folder of your site where the software files are located. Look for and open the 'config.php' where you will need to follow these simple steps to configure it.
search the section 'DISCORD CONFIGURATION'
Place the corresponding data in each 'define' so that it works correctly. Below you can see how to obtain this data. BOT TOKEN OF THE BOT:
BOT CLIENT SECRET:
BOT CLIENT ID:
Finally, and most importantly, let's make Discord accept logins with the API. Simply configure our 'redirects' in the same section.
Now simply click on 'save changes' and you're all set. If you have configured the config.php or in the installer, it should be working now.
Done.
Regards, 📀