Convert event destructuring

This commit is contained in:
Ske
2021-01-31 14:55:57 +01:00
parent 5a52abed77
commit 227d68a2a4
3 changed files with 25 additions and 30 deletions

View File

@@ -120,7 +120,8 @@ namespace PluralKit.Bot
builder.RegisterModule(new ConfigModule<BotConfig>("Bot"));
builder.RegisterModule(new LoggingModule("bot", cfg =>
{
cfg.Destructure.With<EventDestructuring>();
// TODO: do we need this?
// cfg.Destructure.With<EventDestructuring>();
}));
builder.RegisterModule(new MetricsModule());
builder.RegisterModule<DataStoreModule>();