protected function sendCommand($command)
    {
        if (!\Erebot\Utils::stringifiable($command)) {
            throw new \Exception('Invalid command (not a string)');
        }
        $this->connection->getIO()->push((string) $command);
    }