mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: remote await events from gateway
This commit is contained in:
parent
64ff69723c
commit
15c992c572
17 changed files with 439 additions and 30 deletions
|
|
@ -49,8 +49,15 @@ public class BotModule: Module
|
|||
|
||||
if (botConfig.HttpCacheUrl != null)
|
||||
{
|
||||
var cache = new HttpDiscordCache(c.Resolve<ILogger>(),
|
||||
c.Resolve<HttpClient>(), botConfig.HttpCacheUrl, botConfig.Cluster?.TotalShards ?? 1, botConfig.ClientId, botConfig.HttpUseInnerCache);
|
||||
var cache = new HttpDiscordCache(
|
||||
c.Resolve<ILogger>(),
|
||||
c.Resolve<HttpClient>(),
|
||||
botConfig.HttpCacheUrl,
|
||||
botConfig.EventAwaiterTarget,
|
||||
botConfig.Cluster?.TotalShards ?? 1,
|
||||
botConfig.ClientId,
|
||||
botConfig.HttpUseInnerCache
|
||||
);
|
||||
|
||||
var metrics = c.Resolve<IMetrics>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue