o.l.u.IrcUser(object) : class documentation

Part of otfbot.lib.user View Source View In Hierarchy

Represents the connection of a BotUser via IRC
Instance Variablesnetworkreference to the network over which the user is connected
nameverbose name of this connection
nickIRC nick
useruser part of the hostmask
hosthost part of the hostmask
avatarreference to the corresponding BotUser instance
realnamecontent of the realname property of the user
Method __init__ Undocumented
Method getBotuser Undocumented
Method setBotuser Undocumented
Method hasBotuser Undocumented
Method setNick Undocumented
Method setChannels set the channels list to the set given as parameter
Method getChannels get the channels list
Method addChannel add a channel to the list of channels of the user
Method hasChannel Undocumented
Method removeChannel remove a channel from the list of channels
Method setMode set the usermode specified by the char modchar on channel
Method removeMode remove the usermode specified by the char modchar on channel
Method getModeSign Undocumented
Method getHostMask Undocumented
Method getNick Undocumented
Method getUsername Undocumented
Method getHost Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
def __init__(self, nick, user, host, realname, network): (source)
Undocumented
def getBotuser(self): (source)
Undocumented
def setBotuser(self, avatar): (source)
Undocumented
def hasBotuser(self): (source)
Undocumented
def setNick(self, nick): (source)
Undocumented
def setChannels(self, channels): (source)
set the channels list to the set given as parameter
Instance Variableschannelsthe channellist
def getChannels(self): (source)
get the channels list
def addChannel(self, channel): (source)
add a channel to the list of channels of the user
Instance Variableschannelthe channel to add
def hasChannel(self, channel): (source)
Undocumented
def removeChannel(self, channel): (source)
remove a channel from the list of channels
Instance Variableschannelthe channel to remove
def setMode(self, channel, modechar): (source)
set the usermode specified by the char modchar on channel
Instance Variableschannelthe channel where the mode is set
modecharthe char corrosponding to the mode (i.e. "o")
def removeMode(self, channel, modechar): (source)
remove the usermode specified by the char modchar on channel
Instance Variableschannelthe channel where the mode is removed
modecharthe char corrosponding to the mode (i.e. "o")
def getModeSign(self, channel): (source)
Undocumented
def getHostMask(self): (source)
Undocumented
def getNick(self): (source)
Undocumented
def getUsername(self): (source)
Undocumented
def getHost(self): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def __str__(self): (source)
Undocumented
API Documentation for OtfBot, generated by pydoctor at 2011-05-03 16:14:29.