X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=app%2FTwitchBot%2FGuessingCancelCommand.php;h=19f995345756a4ca00f2a333ff817815090c841e;hb=0b25d0e8a22a13f09efbeab94d0b353ae603bc16;hp=c510a324f3aa1d07dc2772b150960587532f82cc;hpb=7fc357a5943bf280ce2fa9aa97ec516af61efd69;p=alttp.git diff --git a/app/TwitchBot/GuessingCancelCommand.php b/app/TwitchBot/GuessingCancelCommand.php index c510a32..19f9953 100644 --- a/app/TwitchBot/GuessingCancelCommand.php +++ b/app/TwitchBot/GuessingCancelCommand.php @@ -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); } }