API reference
Method OnInitializationError
- Namespace
- DisCatSharp.Hosting
- Assembly
- DisCatSharp.Hosting.dll
OnInitializationError(Exception)
When the bot(s) fail to start, this method will be invoked. (Default behavior is to shutdown)
protected virtual void OnInitializationError(Exception ex)
Parameters
exExceptionThe exception/reason for not starting