Class: YAIB::Respond

Inherits:
Object
  • Object
show all
Defined in:
lib/yaib/respond.rb

Direct Known Subclasses

Channel, User

Instance Method Summary collapse

Instance Method Details

#action(s) ⇒ Object



7
8
9
# File 'lib/yaib/respond.rb', line 7

def action(s)
    @bot.irc.send("ACTION #{@channel} :#{s}")
end

#notice(s) ⇒ Object



11
12
13
# File 'lib/yaib/respond.rb', line 11

def notice(s)
    @bot.irc.send("NOTICE #{@channel} :#{s}")
end

#privmsg(s) ⇒ Object



3
4
5
# File 'lib/yaib/respond.rb', line 3

def privmsg(s)
    @bot.irc.send("PRIVMSG #{@channel} :#{s}")
end