The bot can be stopped with a message that is send to all joined channels,
one can check the state of the bot from the outside using #isRunning()
isRunning replaces the old started variable as well (started was previously set after the bot was shut down technically),
one can now change the trigger that will mark a message as a command if it starts with it (default "!").
Further the stopped status is reset with each starting of the bot (for "advanced" usage with UI etc. where the bot can be stopped and restarted).
The bot can be stopped with a message that is send to all joined channels, one can check the state of the bot from the outside using #isRunning() isRunning replaces the old started variable as well (started was previously set after the bot was shut down technically), one can now change the trigger that will mark a message as a command if it starts with it (default "!"). Further the stopped status is reset with each starting of the bot (for "advanced" usage with UI etc. where the bot can be stopped and restarted).