This commit is contained in:
spiral 2021-11-19 07:57:01 -05:00
parent c9f91e0c13
commit 923ad100e5
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31
4 changed files with 6 additions and 5 deletions

View File

@ -42,7 +42,8 @@ namespace PluralKit.Bot
};
}).AsSelf().SingleInstance();
builder.RegisterType<Cluster>().AsSelf().SingleInstance();
builder.Register(c => {
builder.Register(c =>
{
return new MemoryDiscordCache();
}).AsSelf().As<IDiscordCache>().SingleInstance();