public function sendCommand($command, $args = null) { if (!empty($args)) { $command .= '!' . implode('!', $args); } $packet = Packet::createQuery($command); return $this->send($packet); }