3 namespace App\TwitchBot;
5 class GuessingStopCommand extends ChatCommand {
7 public function execute($args) {
8 if (!$this->channel->hasActiveGuessing()) {
9 $this->messageChannel('Channel has no active guessing game');
12 $this->channel->stopGuessing();
13 $this->messageChannel('Guessing closed');