Class | Irc::Server |
In: |
lib/rbot/irc.rb
|
Parent: | Object |
hostname | -> | to_s |
capabilities | [R] | |
chanmodes | [R] | |
channels | [R] | |
hostname | [R] | |
supports | [R] | |
usermodes | [R] | |
users | [R] | |
version | [R] |
Returns the Channel with the given name on the server, creating it if necessary. This is a short form for new_channel(str, nil, [], false)
Convert a prefix (@, +, %, …) to the corresponding mode (o, v, h, …). See also prefix_for_mode
Create a new Channel object bound to the receiver and add it to the list of Channels on the receiver, unless the channel was present already. In this case, the default action is to raise an exception, unless fails is set to false. An exception can also be raised if str is nil or empty, again only if fails is set to true; otherwise, the method just returns nil
Create a new User object bound to the receiver and add it to the list of Users on the receiver, unless the User was present already. In this case, the default action is to raise an exception, unless fails is set to false. An exception can also be raised if str is nil or empty, again only if fails is set to true; otherwise, the method just returns nil
This method is used to parse a 005 RPL_ISUPPORT line
See the RPL_ISUPPORT draft
Convert a mode (o, v, h, …) to the corresponding prefix (@, +, %, …). See also mode_for_prefix