Updated Kick support so admins can now add/remove streamers and force a reconnect to commit the changes

This commit is contained in:
barelyprofessional
2024-09-21 00:28:16 +08:00
parent 1a0197a4c3
commit 12980a86c3
4 changed files with 167 additions and 21 deletions

View File

@@ -534,6 +534,15 @@ public static class BuiltIn
Default = "2",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
},
new BuiltInSettingsModel
{
Key = Keys.KickChannels,
Regex = ".+",
Description = "Kick channels the bot knows about for notifications",
Default = "[]",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
}
];
@@ -585,5 +594,6 @@ public static class BuiltIn
public static string WinmanjackImgUrl = "Winmanjack.ImgUrl";
public static string BotDisconnectReplayLimit = "Bot.DisconnectReplayLimit";
public static string KiwiFarmsJoinFailLimit = "KiwiFarms.JoinFailLimit";
public static string KickChannels = "Kick.Channels";
}
}