Updated the Jackpot username setting to a list as Austin is now using multiple accounts there

This commit is contained in:
barelyprofessional
2025-04-13 18:19:30 -05:00
parent 1c1b6aa347
commit eb346cfe22
2 changed files with 7 additions and 7 deletions

View File

@@ -423,11 +423,11 @@ public class BotServices
{
var settings = Helpers
.GetMultipleValues([
BuiltIn.Keys.JackpotBmjUsername, BuiltIn.Keys.TwitchBossmanJackUsername,
BuiltIn.Keys.JackpotBmjUsernames, BuiltIn.Keys.TwitchBossmanJackUsername,
BuiltIn.Keys.KiwiFarmsGreenColor, BuiltIn.Keys.KiwiFarmsRedColor
]).Result;
_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;
}