Skip to content

DairyWeb3638077/discord-dashboard-main

Repository files navigation

Discord Dashboard Example

A simple Discord Bot Dashboard that is coded with Express, MongoDB and Discord.js

Screenshots: Click Here

Requirements

  • Node.js v17 or later
  • Discord.js v13.6.0 or later

Setup

1. git clone https://github.com/DairyWeb3638077/discord-dashboard-main
  1. Create a Discord Application and name it.

alt text

  1. Rename example.env to .env and fill the required values from the Discord OAuth2 and Bot Page. Do not show anyone these!

  2. Install all of the required NPM modules with the following command...

npm install --save
  1. Add the callback URL to the Bot's OAuth2 Page. Click the save button after that.

alt text

  1. Create a MongoDB database. You can choose between hosting it yourself (locally, VPS) or from MongoDB Atlas. Then paste the connection string into the .env file. The connection string is in the format of mongodb+srv://<username>:<password>@cluster0.oojpt.mongodb.net/<DB-NAME>?retryWrites=true&w=majority. (Might be different!)

  2. After filling out the .env file, run the following command in the console to deploy the bot commands. This may take up to an hour to process through. Do this once unless you have made major changes to the commands (New Command, changed subcommands, etc).

npm run deploy
  1. Start the dashboard.
node bot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published