Basically apply linter (Rider built-in) rules and fix build warnings.
Fixes some issues with exceptions' mute (I got tired of catching errors and not being able to see them without explicit try catch, so why not use BotBase.Exception event)
Also, removed some obsolete properties.
Breaking changes:
BotBase.Start and BotBase.Stop are async now (awaitrequired)
LoadSessionStates and SaveSessionStates are async now (awaitrequired)
Properties in BotBase are readonly now
The case of some enums changed (like eSettings -> ESettings)
Basically apply linter (Rider built-in) rules and fix build warnings. Fixes some issues with exceptions' mute (I got tired of catching errors and not being able to see them without explicit
try catch
, so why not useBotBase.Exception
event)Also, removed some obsolete properties.
Breaking changes:
BotBase.Start
andBotBase.Stop
areasync
now (await
required)LoadSessionStates
andSaveSessionStates
areasync
now (await
required)BotBase
are readonly noweSettings
->ESettings
)MaxLengthException
isMessageTooLongException
nowNeeds to be tested a bit