Class Irc::IRCChannel |
|
![]() |
class to store IRC channel data (users, topic, per-channel configurations)
Methods |
Attributes |
:name | [R] | name of channel |
:quiet | [RW] | if true, bot won't talk in this channel |
:topic | [R] | current channel topic |
:users | [RW] | hash containing users currently in the channel |
Classes and Modules |
Public Class methods |
new(name) |
name: | channel name |
create a new IRCChannel
Public Instance methods |
topic=(name) |
eg @bot.channels[chan].topic = topic