Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theadamjr/1pg

Simple JavaScript Discord bot with dashboard.
https://github.com/theadamjr/1pg

bot bot-dashboard discord discord-bot discord-bot-dashboard discord-js javascript-bot

Last synced: 8 days ago
JSON representation

Simple JavaScript Discord bot with dashboard.

Awesome Lists containing this project

README

        

# 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`:
```json
{
"bot": {
"id": "",
"secret": "",
"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
+ http://localhost:3000/auth
+ http://localhost:3000/auth-guild

In the **[Developer Portal](https://discord.com/developers)** -> **Your Application** -> **OAuth2**