mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Remove dodgy reference to Redis connection string
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user