chore: lint

This commit is contained in:
spiral
2022-04-20 10:47:15 -04:00
parent aa896de3af
commit 1e86c2d6c4
2 changed files with 24 additions and 22 deletions

View File

@@ -44,7 +44,8 @@ public class BotModule: Module
}).AsSelf().SingleInstance();
builder.RegisterType<Cluster>().AsSelf().SingleInstance();
builder.RegisterType<RedisGatewayService>().AsSelf().SingleInstance();
builder.Register<IDiscordCache>(c => {
builder.Register<IDiscordCache>(c =>
{
var botConfig = c.Resolve<BotConfig>();
if (botConfig.UseRedisCache)