Clean up more deadnaming

This commit is contained in:
barelyprofessional
2025-02-06 10:41:53 +08:00
parent 09797f6a56
commit 52bcb012ac

View File

@@ -577,7 +577,7 @@ public class BotServices
private void OnTwitchStreamCommercial(object sender, int channelId, int length, bool scheduled) private void OnTwitchStreamCommercial(object sender, int channelId, int length, bool scheduled)
{ {
var settings = Helpers var settings = Helpers
.GetMultipleValues([BuiltIn.Keys.TwitchShillRestreamOnCommercial, BuiltIn.Keys.RestreamUrl]).Result; .GetMultipleValues([BuiltIn.Keys.TwitchShillRestreamOnCommercial, BuiltIn.Keys.RestreamUrl, BuiltIn.Keys.TwitchBossmanJackUsername]).Result;
if (!settings[BuiltIn.Keys.TwitchShillRestreamOnCommercial].ToBoolean()) if (!settings[BuiltIn.Keys.TwitchShillRestreamOnCommercial].ToBoolean())
{ {
_logger.Debug("Not shilling as it's disabled"); _logger.Debug("Not shilling as it's disabled");
@@ -586,7 +586,7 @@ public class BotServices
_chatBot.SendChatMessage( _chatBot.SendChatMessage(
$"Did you just get a {length} second ad on Twitch? The Keno Kasino encourages Total Advertiser Death.[br]" + $"Did you just get a {length} second ad on Twitch? The Keno Kasino encourages Total Advertiser Death.[br]" +
$"Bossman streams are being re-streamed in low latency, ad-free form thanks to @Kees H. Do not watch ads.[br]{settings[BuiltIn.Keys.RestreamUrl].Value}", $"{settings[BuiltIn.Keys.TwitchBossmanJackUsername].Value} streams are being re-streamed in low latency, ad-free form thanks to @Kees H. Do not watch ads.[br]{settings[BuiltIn.Keys.RestreamUrl].Value}",
true); true);
} }