lint
This commit is contained in:
@@ -78,7 +78,7 @@ namespace PluralKit.Bot
|
||||
}, null, timeTillNextWholeMinute, TimeSpan.FromMinutes(1));
|
||||
}
|
||||
|
||||
public async Task <PermissionSet> PermissionsIn(ulong channelId)
|
||||
public async Task<PermissionSet> PermissionsIn(ulong channelId)
|
||||
{
|
||||
var channel = await _cache.GetRootChannel(channelId);
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user