Class a.chatMod(chatMod.chatMod):

Part of authMod View In Hierarchy

No class docstring
Method __init__ Undocumented
Method query Authentification for some access-levels.
Method auth Returns the access-level of the given user.

Inherited from chatMod:

Method setLogger set the logger
Method joined we have joined a channel
Method command a command message received
Method privmsg a private message received
Method msg message received
Method connectionMade made connection to server
Method connectionLost lost connection to server
Method signedOn successfully signed on
Method left we have left a channel
Method noticed we got a notice
Method action action (/me) received
Method modeChanged mode changed
Method kickedFrom someone kicked the bot
Method userKicked someone kicked someone else
Method userJoined a user joined the channel
Method userJoinedMask Undocumented
Method userLeft a user left the channel
Method userQuit a user disconnect from the network
Method yourHost info about your host
Method userRenamed a user changed the nick
Method topicUpdated a user changed the topic of a channel
Method irc_unknown an IRC-Message, which is not handle by twisted was received
Method stop called, when the bot is stopped, or the module is reloaded
Method reload called to reload the settings of the module
Method start called to start the work of the module
Method sendLine Undocumented
Method lineReceived Undocumented
Method ctcpQuery called for ctcp queries
def __init__(self, bot):
Undocumented
def query(self, user, channel, msg):
Authentification for some access-levels.
User, password and access level can be found in the userdb.
in default the path to the userdb is data/authMod/userdb.yaml,
but you can specify your own path by setting the authMod.userdb
option in the config file to your path.

The user-file has to look like this:
        "
        networkname:
          username:
            password: passwort(md5!)
            access: access-level
        "
You can specify as many networks and users as you want.
def auth(self, user):
Returns the access-level of the given user.
API Documentation for OtfBot, generated by pydoctor at 2010-01-14 18:51:57.