3 namespace App\TwitchBot;
5 class GuessingStopCommand extends ChatCommand {
7 public function execute($args) {
8 if (!$this->channel->hasActiveGuessing()) {
9 $msg = $this->channel->getGuessingSetting('not_active_message');
10 $this->messageChannel($msg);
13 $this->channel->stopGuessing();
14 $msg = $this->channel->getGuessingSetting('stop_message');
15 $this->messageChannel($msg);