From ab94098dd2e302359c12ea8fc3b257a4fc97288c Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Fri, 1 May 2026 18:20:58 -0500 Subject: [PATCH] Remove dodgy reference to Redis connection string --- KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs b/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs index a9e01d5..903c65a 100644 --- a/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs @@ -76,7 +76,7 @@ public class RouletteCommand : ICommand return; } - if (string.IsNullOrEmpty(settings[BuiltIn.Keys.BotRedisConnectionString].Value)) + if (!Redis.IsAvailable) { await botInstance.SendChatMessageAsync($"{user.FormatUsername()}, roulette is not available at this time", true, autoDeleteAfter: TimeSpan.FromSeconds(15));