mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add new internal error message + send rate limiting
This commit is contained in:
parent
eab1cb1645
commit
5269f994cf
2 changed files with 6 additions and 7 deletions
|
|
@ -73,6 +73,7 @@ namespace PluralKit.Bot
|
|||
builder.RegisterType<PeriodicStatCollector>().AsSelf().SingleInstance();
|
||||
builder.RegisterType<LastMessageCacheService>().AsSelf().SingleInstance();
|
||||
builder.RegisterType<LoggerCleanService>().AsSelf().SingleInstance();
|
||||
builder.RegisterType<ErrorMessageService>().AsSelf().SingleInstance();
|
||||
|
||||
// Sentry stuff
|
||||
builder.Register(_ => new Scope(null)).AsSelf().InstancePerLifetimeScope();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue