1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-01 14:20:07 +00:00
Tims-Chat/file/lib/system/chat/commands/commands/Free.class.php

26 lines
791 B
PHP
Raw Normal View History

<?php
namespace wcf\system\chat\commands\commands;
/**
2012-01-22 14:40:25 +00: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 13:32:28 +00:00
class Free extends Me {
const ENABLE_SMILIES = \wcf\system\chat\commands\ICommand::SMILEY_OFF;
2011-12-27 13:32:28 +00: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();
}
}