3 namespace App\TwitchBot;
5 class GuessingStartCommand extends ChatCommand {
7 public function execute($args) {
8 if ($this->channel->hasActiveGuessing()) {
9 $this->messageChannel('Channel already has an active guessing game');
12 $type = $this->getStringConfig('type', 'gtbk');
13 $this->channel->startGuessing($type);
14 $this->messageChannel('Get your guesses in');