Command-fix/env.json
James b914780a65 Add game DB lookup support (#32)
* Add game DB lookup support

* Fix compatibility typo

* Fix typo 2

* Use async function in game DB listing, avoid redundant HTTP requests
2018-06-06 22:54:28 -04:00

59 lines
2 KiB
JSON

{
"NODE_ENV": {
"description": "This defines the current environment",
"validators": [{
"name": "in",
"options": ["development", "testing", "staging", "production"]
}]
},
"TENANT": {
"required": true,
"description": "The tenant of the owning service."
},
"LOGDNA_API_KEY": {
"required": false,
"description": "If set, enables application logging to the LogDNA logger service."
},
"DISCORD_LOG_CHANNEL": {
"description": "The unique ID for the channel the bot will output logs to."
},
"DISCORD_RULES_CHANNEL": {
"description": "The unique ID for the channel that the bot will manage rules from."
},
"DISCORD_RULES_TRIGGER": {
"description": "Text that will trigger and indicate the user has read the rules."
},
"DISCORD_RULES_ROLE": {
"description": "The unique ID for the role that the bot will *remove* when the user accepts the rules."
},
"DISCORD_DEVELOPER_ROLE": true,
"DISCORD_LOGIN_TOKEN": {
"description": "The login token of the bot."
},
"DATA_CUSTOM_RESPONSES": {
"required": false,
"description": "Whether or not to load responses.js from the data directory."
},
"GITHUB_REPOSITORY": {
"required": false,
"description": "The github repository that should be tracked (format is user/repository)"
},
"GITHUB_OLD_THRESHOLD": {
"required": false,
"description": "Issues below this treshold should be ignored"
},
"COMPAT_DB_SOURCE": {
"description": "URL to pull game compatibility information from"
},
"COMPAT_DB_REFRESH": {
"required": false,
"description": "Minimum time in milliseconds between compatibility DB refreshes (default 20 minutes)"
},
"COMPAT_ICON_BASE": {
"description": "URL (with trailing slash) to directory with <game-id>.png files"
},
"COMPAT_URL_BASE": {
"description": "URL (with trailing slash) to directory with game information pages"
}
}