mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: go through some TODOs
This commit is contained in:
parent
04d78e3348
commit
4450ae4214
21 changed files with 193 additions and 250 deletions
|
|
@ -122,11 +122,7 @@ public class Init
|
|||
var builder = new ContainerBuilder();
|
||||
builder.RegisterInstance(config);
|
||||
builder.RegisterModule(new ConfigModule<BotConfig>("Bot"));
|
||||
builder.RegisterModule(new LoggingModule("bot", cfg =>
|
||||
{
|
||||
// TODO: do we need this?
|
||||
// cfg.Destructure.With<EventDestructuring>();
|
||||
}));
|
||||
builder.RegisterModule(new LoggingModule("bot"));
|
||||
builder.RegisterModule(new MetricsModule());
|
||||
builder.RegisterModule<DataStoreModule>();
|
||||
builder.RegisterModule<BotModule>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue