mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add preliminary support for logging outgoing HTTP requests
This commit is contained in:
parent
2d66c44848
commit
f2c18dff41
4 changed files with 136 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ namespace PluralKit.Bot
|
|||
logger.Information("Initializing bot");
|
||||
var bot = services.Resolve<Bot>();
|
||||
bot.Init();
|
||||
|
||||
// Install observer for request/responses
|
||||
DiscordRequestObserver.Install(services);
|
||||
|
||||
// Start the Discord shards themselves (handlers already set up)
|
||||
logger.Information("Connecting to Discord");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue