X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FGuessingStopCommand.php;h=898ece7ed343c1407dc60999f5d251dddd43cc30;hb=93f50820771a0333b169f76f74727239cf0cb286;hp=cc4cd08c4593ff87769c93f85289761ba42d3bf0;hpb=7fc357a5943bf280ce2fa9aa97ec516af61efd69;p=alttp.git diff --git a/app/TwitchBot/GuessingStopCommand.php b/app/TwitchBot/GuessingStopCommand.php index cc4cd08..898ece7 100644 --- a/app/TwitchBot/GuessingStopCommand.php +++ b/app/TwitchBot/GuessingStopCommand.php @@ -6,11 +6,13 @@ class GuessingStopCommand extends ChatCommand { public function execute($args) { if (!$this->channel->hasActiveGuessing()) { - $this->messageChannel('Channel has no active guessing game'); + $msg = $this->channel->getGuessingSetting('not_active_message'); + $this->messageChannel($msg); return; } $this->channel->stopGuessing(); - $this->messageChannel('Guessing closed'); + $msg = $this->channel->getGuessingSetting('stop_message'); + $this->messageChannel($msg); } }