represents a user of the bot

Instance Variable password Authentification data
Instance Variable ircuser references 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
password =
Authentification data
ircuser =
references to IrcUser instances
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 2020-03-04 02:00:06.