31 |
|
|
32 |
### Setup for Custom Hosting |
### Setup for Custom Hosting |
33 |
|
|
34 |
|
#### Requirements |
35 |
|
* NodeJS version 16 or higher |
36 |
|
* MongoDB version 5.0 or higher |
37 |
|
* A Discord API application token with proper setup |
38 |
|
|
39 |
|
#### Optional Services |
40 |
|
* Cat and dog API Token (for fetching cat and dog images using `cat` and `dog` commands, the tokens can be obtained at [thecatapi.com](https://thecatapi.com) and [thedogapi.com](https://thedogapi.com)) |
41 |
|
* Pixabay API Token (can be obtained [here](https://pixabay.com/api/docs/)) |
42 |
|
* A Discord Webhook URL for sending error reports |
43 |
|
* A JWT Secret for the API services (if you don't have a API secret, you can run `openssl rand -base64 10` to generate a random base64 string and use it as secret) |
44 |
|
|
45 |
First, download the latest release or clone the repo by running: |
First, download the latest release or clone the repo by running: |
46 |
|
|
47 |
``` |
``` |