Skip to content
/ 1PG Public
forked from theADAMJR/1PG

Simple JavaScript Discord bot with dashboard.

License

Notifications You must be signed in to change notification settings

sejun3232/1PG

 
 

Repository files navigation

1PG

1PG Course - https://udemy.com/course/create-the-best-discord-bot/?referralCode=5CB95A4D9309B1F54560

Create a Discord Bot Dashboard Series - https://www.youtube.com/watch?v=tpIQM90o_pY&list=PLGfT2ttRbfizUIO1YEITWaquqBsNqHv7v&index=1

Setup

Make a file config.json:

{
  "bot": {
    "id": "<bot_id>",
    "secret": "<client_secret>",
    "token": "<bot_token>"
  },
  "dashboardURL": "http://localhost:3000",
  "mongoURI": "mongodb://localhost/1PG-Demo"
}

Make sure config.json is in .gitignore.

This will help secure your bot token, and make sure your bot does not get hacked.

Set Redirect URIs

In the Developer Portal -> Your Application -> OAuth2

About

Simple JavaScript Discord bot with dashboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.0%
  • Pug 30.7%
  • CSS 10.3%