mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Experimental Clash.gg support, completely untested. Austin's ID is unknown at this time hence not populated
This commit is contained in:
@@ -870,6 +870,26 @@ public static class BuiltIn
|
||||
IsSecret = false,
|
||||
CacheDuration = TimeSpan.FromHours(1),
|
||||
ValueType = SettingValueType.Boolean
|
||||
},
|
||||
new BuiltInSettingsModel
|
||||
{
|
||||
Key = Keys.ClashggEnabled,
|
||||
Regex = "(true|false)",
|
||||
Description = "Whether the Clash.gg integration should be enabled",
|
||||
Default = "true",
|
||||
IsSecret = false,
|
||||
CacheDuration = TimeSpan.FromHours(1),
|
||||
ValueType = SettingValueType.Boolean
|
||||
},
|
||||
new BuiltInSettingsModel
|
||||
{
|
||||
Key = Keys.ClashggBmjIds,
|
||||
Regex = ".+",
|
||||
Description = "List of IDs that austingambles is using",
|
||||
Default = "[]",
|
||||
IsSecret = false,
|
||||
CacheDuration = TimeSpan.FromHours(1),
|
||||
ValueType = SettingValueType.Array
|
||||
}
|
||||
];
|
||||
|
||||
@@ -942,5 +962,7 @@ public static class BuiltIn
|
||||
public static string DiscordTemporarilyBypassGambaSeshInitialValue =
|
||||
"Discord.TemporarilyBypassGambaSeshInitialValue";
|
||||
public static string BotKeesSeen = "Bot.KeesSeen";
|
||||
public static string ClashggEnabled = "Clashgg.Enabled";
|
||||
public static string ClashggBmjIds = "Clashgg.BmjIds";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user