mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Check if the executed command actually is "free the fish".
This commit is contained in:
parent
5e177e614f
commit
7c8a72e89c
@ -17,6 +17,9 @@ class Free extends Me {
|
|||||||
* @see \wcf\system\chat\commands\ICommand::getMessage()
|
* @see \wcf\system\chat\commands\ICommand::getMessage()
|
||||||
*/
|
*/
|
||||||
public function getMessage() {
|
public function getMessage() {
|
||||||
return 'freed the fish. OH A NOEZ';
|
if (\wcf\util\StringUtil::toLowerCase($this->commandHandler->getParameters()) == 'the fish')
|
||||||
|
return 'freed the fish. OH A NOEZ';
|
||||||
|
else
|
||||||
|
throw new \wcf\system\chat\commands\NotFoundException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user