This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 185
Setup Information
Sank6 edited this page Dec 22, 2020
·
4 revisions
This is an open-sourced Discord Bot List, written in NodeJS, with an Express JS web server and a discord.js / Klasa bot. The bots are stored in a MongoDB database. Cookies are used to store discord's oauth data. If you find any issues or bugs, or have a suggestion, feel free to open an issue.
Some of the icons used in this website are from Icons8.
- Clone the repo and install the dependencies:
git clone https://github.com/Sank6/Discord-Bot-List.git
npm i
- Create a config file with the same structure and variables as the example
cd Discord-Bot-List
Windows:
copy config-example.json config.json
Linux:
cp config-example.json config.json
-
Fill in the config file. (Help)
-
In your discord application settings, set the callback URL to
/api/callback
and remove all others. Eg,http://localhost/api/callback
-
Run the program:
npm start
- The domain variable should includes the protocol and doesn't end with a
/
. Eg,http://localhost:8080
. - All the roles should be below the role of the bot in charge of the botlist.
- Most of the variables are Discord IDs. Enable them in settings.
- The MongoDB URL can be either a local server or a remote one. Atlas provides a free tier with 500mb.
- The recaptcha details are for Google's reCaptcha v2 (admin page). Use the checkbox mode.
- The minimum and maximum lengths for bot description and summary are in characters.