Command-fix/env.json
2019-08-12 22:30:26 +05:30

65 lines
2.3 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_MSGLOG_CHANNEL": {
"description": "The unique ID for the channel the bot will output message logs to."
},
"DISCORD_MEDIA_CHANNEL": {
"description": "The unique ID for the channel the bot will moderate images in."
},
"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"
}
}