This is a demo of 1PG and was made during a YouTube video series and a Udemy course.
1PG Course - https://udemy.com/course/create-the-best-discord-bot/?referralCode=5CB95A4D9309B1F54560
Make a file config.json
:
{
"bot": {
"id": "<bot_id>",
"secret": "<client_secret>",
"token": "<bot_token>"
},
"dashboardURL": "http://localhost:3000",
"mongoURI": "mongodb://localhost/1PG-Demo"
}
This will help secure your bot token, and make sure your bot does not get hacked.
In the Developer Portal -> Your Application -> OAuth2