Represents the connection of a BotUser via IRC

Instance Variable network reference to the network over which the user is connected
Instance Variable name verbose name of this connection
Instance Variable nick IRC nick
Instance Variable user user part of the hostmask
Instance Variable host host part of the hostmask
Instance Variable avatar reference to the corresponding BotUser instance
Instance Variable realname content 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 @ivar channels: the channellist
Method getChannels get the channels list
Method addChannel add a channel to the list of channels of the user @ivar channel: the channel to add
Method hasChannel Undocumented
Method removeChannel remove a channel from the list of channels @ivar channel: the channel to remove
Method setMode set the usermode specified by the char modchar on channel @ivar channel: the channel where the mode is set @ivar modechar: the char corrosponding to the mode (i.e. "o")
Method removeMode remove the usermode specified by the char modchar on channel @ivar channel: the channel where the mode is removed @ivar modechar: the char corrosponding to the mode (i.e. "o")
Method getModeSign Undocumented
Method getHostMask Undocumented
Method getNick Undocumented
Method getUsername Undocumented
Method getHost Undocumented
Method getData Undocumented
Method setData Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
network =
reference to the network over which the user is connected
name =
verbose name of this connection
nick =
IRC nick
user =
user part of the hostmask
host =
host part of the hostmask
avatar =
reference to the corresponding BotUser instance
realname =
content of the realname property of the user
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

def getChannels(self): (source)

get the channels list

def addChannel(self, channel): (source)

add a channel to the list of channels of the user

def hasChannel(self, channel): (source)
Undocumented
def removeChannel(self, channel): (source)

remove a channel from the list of channels

def setMode(self, channel, modechar): (source)

set the usermode specified by the char modchar on channel

def removeMode(self, channel, modechar): (source)

remove the usermode specified by the char modchar on channel

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 getData(self, pluginName, key): (source)
Undocumented
def setData(self, pluginName, key, value): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def __str__(self): (source)
Undocumented
API Documentation for OtfBot, generated by pydoctor at 2020-03-04 02:00:06.