public static function reply($message) { self::$LAST_SERVER->reply($message); }
private function response(Dog_Server $server, $message) { if ($this->origin === $server->getBotsNickname()) { $server->reply($this->user->getVar('user_name'), $message); return; } switch (self::GLOBAL_BEHAVIOUR) { case 0: $server->reply($this->origin, $message); break; case 1: Lamb::instance()->globalMessage($message); break; case 2: Lamb::instance()->superGlobalMessage($message); break; default: break; } }