-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, the logging module is using synchronous logic and running awaitable logic as anonymous functions to Task.Run. This should be unnecessary as the event handlers can be asynchronous functions. See here for the documentation on using events.
However, @iShauny has been encountering issues with using this pattern. He has been getting this error: a MessageReceived event handler is blocking the gateway. This suggests that a handler is not releasing control back to the async loop in time. See here for more details.
Additionally, it seems that some events can be dropped if they happen too quickly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request