Method |
Description |
|
getChannels ( string $nick = null ) : array | boolean |
Returns a list of channels in which a given user is present. |
|
getRandomUser ( string $chan, array $ignore = ['chanserv'] ) : string | boolean |
Returns the nick of a random user present in a given channel or false
if the bot is not present in the channel. |
|
getUsers ( string $chan ) : array | boolean |
Returns the entire user list for a channel or false if the bot is not
in the channel. |
|
is ( integer $mode, string $nick, string $chan ) : boolean |
Checks whether or not a given user has a mode |
|
isAdmin ( string $nick, string $chan ) : boolean |
Checks whether or not a given user has admin (&) status |
|
isHalfop ( string $nick, string $chan ) : boolean |
Checks whether or not a given user has halfop (%) status |
|
isIn ( string $nick, string $chan ) : boolean |
Checks whether or not a given user is in a channel |
|
isOp ( string $nick, string $chan ) : boolean |
Checks whether or not a given user has operator (@) status |
|
isOwner ( string $nick, string $chan ) : boolean |
Checks whether or not a given user has owner (~) status |
|
isVoice ( string $nick, string $chan ) : boolean |
Checks whether or not a given user has voice (+) status |
|
onJoin ( ) : void |
Tracks users joining a channel |
|
onMode ( ) : void |
Tracks mode changes |
|
onNick ( ) : void |
Tracks users changing nicks |
|
onPart ( ) : void |
Tracks users leaving a channel |
|
onPrivmsg ( ) : void |
Debugging function |
|
onQuit ( ) : void |
Tracks users quitting a server |
|
onResponse ( ) : void |
Populates the internal user listing for a channel when the bot joins it. |
|