X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FGuessingStartCommand.php;h=64a57292c5162666093d004525b8ba24d53bcf04;hb=2d1c02504d80ad0e2c754f31f3b17d8c9ea60682;hp=d2b216843714dc603ecffb397081dcb7ac6df3b1;hpb=7fc357a5943bf280ce2fa9aa97ec516af61efd69;p=alttp.git diff --git a/app/TwitchBot/GuessingStartCommand.php b/app/TwitchBot/GuessingStartCommand.php index d2b2168..64a5729 100644 --- a/app/TwitchBot/GuessingStartCommand.php +++ b/app/TwitchBot/GuessingStartCommand.php @@ -6,12 +6,14 @@ class GuessingStartCommand extends ChatCommand { public function execute($args) { if ($this->channel->hasActiveGuessing()) { - $this->messageChannel('Channel already has an active guessing game'); + $msg = $this->channel->getGuessingSetting('active_message'); + $this->messageChannel($msg); return; } $type = $this->getStringConfig('type', 'gtbk'); $this->channel->startGuessing($type); - $this->messageChannel('Get your guesses in'); + $msg = $this->channel->getGuessingSetting('start_message'); + $this->messageChannel($msg); } }