mirror of
https://github.com/Empostor/Empostor.git
synced 2026-10-20 01:46:07 +00:00
Fix: register BanCommand in DI container
This commit is contained in:
1 parent
92defb754f
commit
6d5089762f
2 files changed
+2
-2
No files matched your search
@@ -132,7 +132,6 @@
|
||||
"NextFast.Hazel.Abstractions": {
|
||||
"type": "Project"
|
||||
}
|
||||
},
|
||||
"net8.0/win-x64": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -205,6 +205,7 @@ namespace Empostor.Server
|
||||
services.AddSingleton<IEventListener, PlayerLogListener>();
|
||||
services.AddSingleton<PlayerStatsStore>();
|
||||
services.AddSingleton<StatCommand>();
|
||||
services.AddSingleton<BanCommand>();
|
||||
services.AddSingleton<DiscordWebhookStore>();
|
||||
services.AddSingleton<HplpStore>();
|
||||
services.AddSingleton<IEventListener, DiscordWebhookListener>();
|
||||
|
||||
Reference in new issue
Block a user