1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-23 02:10:41 +00:00

26 lines
791 B
PHP
Raw Normal View History

<?php
namespace wcf\system\chat\commands\commands;
/**
2012-01-22 15:40:25 +01:00
* Informs everyone that the fish was freed. OH A NOEZ.
*
* @author Tim Düsterhus
* @copyright 2010-2011 Tim Düsterhus
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
* @package timwolla.wcf.chat
* @subpackage system.chat.commands.commands
*/
2011-12-27 14:32:28 +01:00
class Free extends Me {
const ENABLE_SMILIES = \wcf\system\chat\commands\ICommand::SMILEY_OFF;
2011-12-27 14:32:28 +01:00
/**
* @see \wcf\system\chat\commands\ICommand::getMessage()
*/
public function getMessage() {
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();
}
}