]> git.localhorst.tv Git - alttp.git/blobdiff - app/TwitchBot/GuessingCancelCommand.php
guessing game settings
[alttp.git] / app / TwitchBot / GuessingCancelCommand.php
index c510a324f3aa1d07dc2772b150960587532f82cc..19f995345756a4ca00f2a333ff817815090c841e 100644 (file)
@@ -7,8 +7,9 @@ class GuessingCancelCommand extends ChatCommand {
        public function execute($args) {
                if ($this->chanel->hasActiveGuessing()) {
                        $this->channel->clearGuessing();
-                       $this->messageChannel('Guessing game cancelled');
                }
+               $msg = $this->channel->getGuessingSetting('cancel_message');
+               $this->messageChannel($msg);
        }
 
 }