/** * Called every 10 seconds when the bot is online but not in the channel */ public function autojoin() { $this->server->send_line("JOIN {$this->channel}"); }
/** * Kick a person from the channel * * @param String Nickname of the user to kick * @param String Reason to give */ public function kick_user($nick, $message) { $this->server->send_line("KICK {$this->channel} {$nick} :{$message}"); }