mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Convert event destructuring
This commit is contained in:
parent
5a52abed77
commit
227d68a2a4
3 changed files with 25 additions and 30 deletions
|
|
@ -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>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue