def transmit name, *arguments
      message = IRCParser::Message.new command: name.to_s, parameters: arguments

      if @client.verbose
        formatted_command = message.command.to_s.ljust 8, ' '
        formatted_params = message.parameters.map(&:inspect).join ' '
        log "#{'→' ^ :red} #{formatted_command} #{formatted_params}"
      end

      @connection.send_data "#{message}\r\n"
    end
def transmit name, *arguments
      message = IRCParser::Message.new command: name.to_s, parameters: arguments

      if @client.verbose
        formatted_command = message.command.to_s.ljust 8, ' '
        formatted_params = message.parameters.map(&:inspect).join ' '
        log "#{'→' ^ :red} #{formatted_command} #{formatted_params}"
      end

      @connection.send_data "#{message}\r\n"
    end
Transmit a command to the server.

 @param [Symbol, String] name the command name.
 @param [...] arguments all the prepended parameters.