o.l.u.BotUser(service.User) : class documentation

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

represents a user of the bot
Instance VariablespasswordAuthentification data
ircuserreferences to IrcUser instances
Method __init__ Undocumented
Method setPasswd update the password
Method checkPasswd checks if the password for the user equals passwd
Method __repr__ Undocumented
Method _hashpw Undocumented

Inherited from User:

Method loggedIn Invoked by the associated IChatService when login occurs.
Method join Attempt to join the given group.
Method leave Discontinue participation in the given group.
Method send Send the given message to the given user or group.
Method itergroups Return an iterator of all groups of which this user is a
Method logout Undocumented
def __init__(self, name): (source)
Undocumented
def setPasswd(self, passwd): (source)
update the password

takes a string as password and stores the hash.

Parameterspasswdthe new password. (type: string )
def checkPasswd(self, passwd): (source)
checks if the password for the user equals passwd
Parameterspasswdinput password (type: string )
Returnstrue if the password was correct
def _hashpw(self, pw): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for OtfBot, generated by pydoctor at 2011-05-03 16:14:29.