mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Updated the Jackpot username setting to a list as Austin is now using multiple accounts there
This commit is contained in:
@@ -423,11 +423,11 @@ public class BotServices
|
|||||||
{
|
{
|
||||||
var settings = Helpers
|
var settings = Helpers
|
||||||
.GetMultipleValues([
|
.GetMultipleValues([
|
||||||
BuiltIn.Keys.JackpotBmjUsername, BuiltIn.Keys.TwitchBossmanJackUsername,
|
BuiltIn.Keys.JackpotBmjUsernames, BuiltIn.Keys.TwitchBossmanJackUsername,
|
||||||
BuiltIn.Keys.KiwiFarmsGreenColor, BuiltIn.Keys.KiwiFarmsRedColor
|
BuiltIn.Keys.KiwiFarmsGreenColor, BuiltIn.Keys.KiwiFarmsRedColor
|
||||||
]).Result;
|
]).Result;
|
||||||
_logger.Trace("Jackpot bet has arrived");
|
_logger.Trace("Jackpot bet has arrived");
|
||||||
if (bet.User != settings[BuiltIn.Keys.JackpotBmjUsername].Value)
|
if (!settings[BuiltIn.Keys.JackpotBmjUsernames].ToType<List<string>>().Contains(bet.User))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -483,13 +483,13 @@ public static class BuiltIn
|
|||||||
},
|
},
|
||||||
new BuiltInSettingsModel()
|
new BuiltInSettingsModel()
|
||||||
{
|
{
|
||||||
Key = Keys.JackpotBmjUsername,
|
Key = Keys.JackpotBmjUsernames,
|
||||||
Regex = ".+",
|
Regex = ".+",
|
||||||
Description = "Bossman's username on Jackpot",
|
Description = "Bossman's usernames on Jackpot",
|
||||||
Default = "TheBossmanJack",
|
Default = "[\"TheBossmanJack\", \"Austingambless757\"]",
|
||||||
IsSecret = false,
|
IsSecret = false,
|
||||||
CacheDuration = TimeSpan.FromHours(1),
|
CacheDuration = TimeSpan.FromHours(1),
|
||||||
ValueType = SettingValueType.Text
|
ValueType = SettingValueType.Array
|
||||||
},
|
},
|
||||||
new BuiltInSettingsModel
|
new BuiltInSettingsModel
|
||||||
{
|
{
|
||||||
@@ -964,7 +964,7 @@ public static class BuiltIn
|
|||||||
public static string HowlggBmjUserId = "Howlgg.BmjUserId";
|
public static string HowlggBmjUserId = "Howlgg.BmjUserId";
|
||||||
public static string KiwiFarmsGreenColor = "KiwiFarms.GreenColor";
|
public static string KiwiFarmsGreenColor = "KiwiFarms.GreenColor";
|
||||||
public static string KiwiFarmsRedColor = "KiwiFarms.RedColor";
|
public static string KiwiFarmsRedColor = "KiwiFarms.RedColor";
|
||||||
public static string JackpotBmjUsername = "Jackpot.BmjUsername";
|
public static string JackpotBmjUsernames = "Jackpot.BmjUsernames";
|
||||||
public static string RainbetBmjPublicIds = "Rainbet.BmjPublicIds";
|
public static string RainbetBmjPublicIds = "Rainbet.BmjPublicIds";
|
||||||
public static string FlareSolverrApiUrl = "FlareSolverr.ApiUrl";
|
public static string FlareSolverrApiUrl = "FlareSolverr.ApiUrl";
|
||||||
public static string FlareSolverrProxy = "FlareSolverr.Proxy";
|
public static string FlareSolverrProxy = "FlareSolverr.Proxy";
|
||||||
|
|||||||
Reference in New Issue
Block a user