Skip to content

Part of the 'Create a Simple Discord Bot' Series and 'Create a Discord Bot Dashboard' YouTube Series

License

Notifications You must be signed in to change notification settings

Murtatrxx/1PG-Demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please see https://github.com/theADAMJR/1PG for a more comprehensive, and more updated repo.

1PG Demo

This is a demo of 1PG and was made during a course.

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

Part of the 'Create a Simple Discord Bot' Series and 'Create a Discord Bot Dashboard' YouTube Series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.7%
  • Pug 41.2%
  • CSS 8.1%