mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Update to D#+ 4.0.0-rc1
This commit is contained in:
parent
90b2fcfdd4
commit
634173e205
14 changed files with 73 additions and 87 deletions
|
|
@ -24,7 +24,8 @@ namespace PluralKit.Bot
|
|||
Token = c.Resolve<BotConfig>().Token,
|
||||
TokenType = TokenType.Bot,
|
||||
MessageCacheSize = 0,
|
||||
LargeThreshold = 50
|
||||
LargeThreshold = 50,
|
||||
LoggerFactory = c.Resolve<Microsoft.Extensions.Logging.ILoggerFactory>()
|
||||
}).AsSelf();
|
||||
builder.Register(c => new DiscordShardedClient(c.Resolve<DiscordConfiguration>())).AsSelf().SingleInstance();
|
||||
builder.Register(c => new DiscordRestClient(c.Resolve<DiscordConfiguration>())).AsSelf().SingleInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue