Class Irc::Channel
In: lib/rbot/irc.rb
Parent: Object

Here we start with the actual Channel class

Methods

Included Modules

ServerOrCasemap

Classes and Modules

Class Irc::Channel::Mode
Class Irc::Channel::ModeHash
Class Irc::Channel::ModeTypeA
Class Irc::Channel::ModeTypeB
Class Irc::Channel::ModeTypeC
Class Irc::Channel::ModeTypeD
Class Irc::Channel::Topic
Class Irc::Channel::UserMode

External Aliases

name -> to_s

Attributes

creation_time  [RW] 
mode  [R] 
name  [R] 
topic  [R] 
url  [RW] 
users  [R] 

Public Class methods

Creates a new channel with the given name, optionally setting the topic and an initial users list.

No additional info is created here, because the channel flags and userlists allowed depend on the server.

Public Instance methods

Adds a user to the channel

Removes a user from the channel

Returns the user with nick nick, if available

Checks if the receiver already has a user with the given nick

A channel is local to a server if it has the ’&’ prefix

A channel is modeless if it has the ’+’ prefix

A channel is normal if it has the ’#’ prefix

The channel prefix

A channel is safe if it has the ’!’ prefix

Returns self

[Validate]