Table of Contents
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

ex Exception

The exception/reason for not starting