mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-15 10:32:44 -04:00
Remove dodgy reference to Redis connection string
This commit is contained in:
@@ -76,7 +76,7 @@ public class RouletteCommand : ICommand
|
|||||||
return;
|
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,
|
await botInstance.SendChatMessageAsync($"{user.FormatUsername()}, roulette is not available at this time", true,
|
||||||
autoDeleteAfter: TimeSpan.FromSeconds(15));
|
autoDeleteAfter: TimeSpan.FromSeconds(15));
|
||||||
|
|||||||
Reference in New Issue
Block a user