Web Interface Config
Configurations are set via file in the repository https://github.com/synzen/Discord.RSS-Clone
Configs are set in the settings/config.web.json file. If none exist, then you must create one that follows the example at settings/config.web.example.json.
Any configs with an asterisk *
beside it indicates that it is required and the bot cannot function without them. There will be a automatic check on startup for any invalid/missing configs.
Type Definitions:
Number - A non-negative integer (no quotes).
Boolean - Either true
or false
(no quotes).
String - Text that must be enclosed with quotes. Example: "my text"
Array[String] - Multiple strings enclosed by [
and ]
, separated by commas. Example: ["mythinghere", "mysecondthinghere"]
or with a single item: ["myotherthing"]
Object - A JSON object.
log
Config | Type | Description |
| String | Verbosity of the logs desired. Must be |
| String | Direct JSON logs to a file. Must be an absolute path. Default is |
bot
Config | Type | Description |
| String | Bot token. |
| String | Domain with |
| String | Application ID retrieved from Discord Developers. |
| String | Application secret retrieved from Discord Developers. |
database
Config | Type | Description |
| String | MongoDB connection string. This must match the bot's database connection URI in order for the web control panel to have access to the same data. Default is |
| Object | The connection options object options passed through Mongoose. This can be used for other types of authentication. |
| String | Redis URI. Default is |
http
Config | Type | Value |
| Boolean | Enable reverse proxy support. |
| String | Unique string to prevent session hijacking. |
| Number | HTTP port. Default is |
https
Config | Type | Value |
| Boolean | Enable Node.js's HTTPS server. |
| String | Absolute path to your private key file. |
| String | Absolute path to your certificate file. |
| String | Absolute path to your chain file. |
| Number | HTTPS port. Default is |
Last updated