lmariscal / twitchirc

Twitch Bot Development made Easier | DEPRECATED
Other
40 stars 15 forks source link

Stopping with message, running check, commandTrigger #13

Closed mvarendorff closed 7 years ago

mvarendorff commented 7 years ago

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).