say #chan message * * @param string $chan Name of the channel * @param string $message Message to repeat * @return void */ public function onDoSay($chan, $message) { $this->doPrivmsg($chan, $message); } /** * Handles a request for the bot to repeat a given action in a specified * channel. * * act #chan action * * @param string $chan Name of the channel * @param string $action Action to perform * @return void */ public function onDoAct($chan, $action) { $this->doAction($chan, $action); } /** * Handles a request for the bot to send the server a raw message * * raw message * * @param string $message Message to send * @return void */ public function onDoRaw($message) { $user = $this->event->getNick(); if ($this->fromAdmin(true)) { $this->doRaw($message); } else { $this->doNotice($user, 'You do not have permission to send raw messages.'); } } }