-
I'm basing my question on the dependency injection guide provided here. From what I've read the I'm currently bypassing this check via |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to:
In the following example I assume you're using the
|
Beta Was this translation helpful? Give feedback.
You need to:
In the following example I assume you're using the
CommandHandler
from the documentation.You should first make sure you have correct post-execution handling for
RunMode.Async
commands, as described in this documentation.Create a new SocketCommandContext subclass that implements
IDisposable
, like so: