mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 23:07:54 +00:00
lint
This commit is contained in:
parent
c9f91e0c13
commit
923ad100e5
4 changed files with 6 additions and 5 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue