class Crirc::Controller::Client

Included Modules

Defined in:

crirc/controller/client.cr

Constructors

Instance Method Summary

Instance methods inherited from module Crirc::Binding::Handler

handle(msg : String)
handle(msg : Crirc::Protocol::Message)
handle
, hooks : Hash(HookTest, Array(Hook)) hooks, on(command : String, source : HookRule = nil, arguments : HookRule = nil, message : HookRule = nil, &hook : Hook) on

Constructor methods inherited from module Crirc::Binding::Handler

new(**opts) new

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

gets gets, puts(data) puts

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

invite(chan : Crirc::Protocol::Chan, user : Crirc::Protocol::User) invite, join(chans : Enumerable(Crirc::Protocol::Chan), passwords : Enumerable(String) = [""])
join(chan : Crirc::Protocol::Chan, password : String = "")
join
, kick(chans : Enumerable(Crirc::Protocol::Chan), users : Enumerable(Crirc::Protocol::User), msg : String | Nil = nil)
kick(chans : Enumerable(Crirc::Protocol::Chan), user : Crirc::Protocol::User, msg : String | Nil = nil)
kick(chan : Crirc::Protocol::Chan, users : Enumerable(Crirc::Protocol::User), msg : String | Nil = nil)
kick(chan : Crirc::Protocol::Chan, user : Crirc::Protocol::User, msg : String | Nil = nil)
kick
, list(chans : Enumerable(Crirc::Protocol::Chan | Nil) | Nil)
list(chan : Crirc::Protocol::Chan)
list
, mode(chan : Crirc::Protocol::Chan, flags : String, user : Crirc::Protocol::User | Nil = nil) mode, names(chans : Enumerable(Crirc::Protocol::Chan) | Nil)
names(chan : Crirc::Protocol::Chan)
names
, part(chans : Enumerable(Crirc::Protocol::Chan), msg : String | Nil = nil)
part(chan : Crirc::Protocol::Chan, msg : String | Nil = nil)
part
, topic(chan : Crirc::Protocol::Chan, msg : String | Nil = nil) topic

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

puts(data) puts

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

notice(target : Crirc::Protocol::Target, msg : String) notice, privmsg(target : Crirc::Protocol::Target, msg : String) privmsg

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

puts(data) puts

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

mode(target : Crirc::Protocol::Target, flags : String) mode, whois(target : Crirc::Protocol::Target) whois, whowas(target : Crirc::Protocol::Target) whowas

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

puts(data) puts

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

ping(msg : String | Nil = "0") ping, pong(msg : String | Nil = "0") pong

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

puts(data) puts

Constructor Detail

def self.new(network : Crirc::Network::Client) #

[View source]

Instance Method Detail

def chanlist : ChanList #

[View source]
def gets(*args, **options) #

[View source]
def gets(*args, **options, &) #

[View source]
def init #

[View source]
def network : Network::Client #

[View source]
def nick(*args, **options) #

[View source]
def nick(*args, **options, &) #

[View source]
def on_ready(&b) : Client #

[View source]
def puts(*args, **options) #

[View source]
def puts(*args, **options, &) #

[View source]
def reply(msg, data) #

[View source]