Remove dodgy reference to Redis connection string

This commit is contained in:
barelyprofessional
2026-05-01 18:20:58 -05:00
parent c79105bb44
commit ab94098dd2

View File

@@ -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));