module Crirc::Controller::Command::Ping

Overview

Defines the IRC ping.

Included Modules

Direct including types

Defined in:

crirc/controller/command/ping.cr

Instance Method Summary

Instance methods inherited from module Crirc::Controller::Command

puts(data) puts

Instance Method Detail

def ping(msg : String? = "0") #

Send a ping to check if the other end is alive


[View source]
def pong(msg : String? = "0") #

Answer to a ping command with a pong


[View source]