class Irc::Client

Defined in:

crbot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(server : String, port : Int32, user : String, nick : String) #

[View source]

Instance Method Detail

def clear_handlers! #

[View source]
def handle_msg(msg) #

[View source]
def join(chan : String) #

[View source]
def listen #

[View source]
def on(command : String, &block : IrcMessage -> ) #

[View source]
def part(chan : String) #

[View source]
def quit #

[View source]
def say(ch, msg : String) #

[View source]
def send(s : String, silent : Bool = false) #

[View source]