mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: lint
This commit is contained in:
parent
aa896de3af
commit
1e86c2d6c4
2 changed files with 24 additions and 22 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue