Fix webhook default value

Added missing property and changed all defaults back to null
This commit is contained in:
Nanobyte
2021-06-14 10:47:46 +02:00
parent 17eb9604e7
commit bbd478f322

View File

@@ -20,10 +20,11 @@ addDefaults(config, {
maxNumberOfActiveWarnings: 3, maxNumberOfActiveWarnings: 3,
hoursAfterWarningExpires: 24, hoursAfterWarningExpires: 24,
adminUserID: "", adminUserID: "",
discordCompletelyIncorrectReportWebhookURL: "", discordCompletelyIncorrectReportWebhookURL: null,
discordFirstTimeSubmissionsWebhookURL: "", discordFirstTimeSubmissionsWebhookURL: null,
discordNeuralBlockRejectWebhookURL: "", discordNeuralBlockRejectWebhookURL: null,
discordReportChannelWebhookURL: "", discordFailedReportChannelWebhookURL: null,
discordReportChannelWebhookURL: null,
getTopUsersCacheTimeMinutes: 0, getTopUsersCacheTimeMinutes: 0,
globalSalt: null, globalSalt: null,
mode: "", mode: "",