chore: lint

This commit is contained in:
spiral 2022-04-20 10:47:15 -04:00
parent aa896de3af
commit 1e86c2d6c4
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
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)