Made it possible to disable Rainbet, Chips.gg and Howl.gg as they're not really working right now and just spamming errors

This commit is contained in:
barelyprofessional
2025-01-21 20:17:46 +08:00
parent 75f788f0f6
commit b7e829d30a
3 changed files with 53 additions and 7 deletions

View File

@@ -625,6 +625,33 @@ public static class BuiltIn
Default = "[]",
IsSecret = false,
CacheDuration = TimeSpan.Zero
},
new BuiltInSettingsModel
{
Key = Keys.HowlggEnabled,
Regex = "(true|false)",
Description = "Whether the Howl.gg integration is enabled at all",
Default = "false",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
},
new BuiltInSettingsModel
{
Key = Keys.ChipsggEnabled,
Regex = "(true|false)",
Description = "Whether the Chips.gg integration is enabled at all",
Default = "false",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
},
new BuiltInSettingsModel
{
Key = Keys.RainbetEnabled,
Regex = "(true|false)",
Description = "Whether the Rainbet integration is enabled at all",
Default = "false",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
}
];
@@ -686,5 +713,8 @@ public static class BuiltIn
public static string BotNextCourtHearing = "Bot.Court.NextHearing";
public static string BotJailStartTime = "Bot.Jail.StartTime";
public static string BotCourtCalendar = "Bot.Court.Calendar";
public static string HowlggEnabled = "Howlgg.Enabled";
public static string ChipsggEnabled = "Chipsgg.Enabled";
public static string RainbetEnabled = "Rainbet.Enabled";
}
}