o.l.c.chatMod(Plugin) : class documentation

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

Known subclasses: otfbot.plugins.ircClient.answers.Plugin, otfbot.plugins.ircClient.auth.Plugin, otfbot.plugins.ircClient.autorejoin.Plugin, otfbot.plugins.ircClient.badwords.Plugin, otfbot.plugins.ircClient.commands.Plugin, otfbot.plugins.ircClient.controlIRC.Plugin, otfbot.plugins.ircClient.controlServer.Plugin, otfbot.plugins.ircClient.ddate.Plugin, otfbot.plugins.ircClient.eightBall.Plugin, otfbot.plugins.ircClient.feed.Plugin, otfbot.plugins.ircClient.human.Plugin, otfbot.plugins.ircClient.identify.Plugin, otfbot.plugins.ircClient.karma.Plugin, otfbot.plugins.ircClient.ki.Plugin, otfbot.plugins.ircClient.kurs.Plugin, otfbot.plugins.ircClient.log.Plugin, otfbot.plugins.ircClient.marvin.Plugin, otfbot.plugins.ircClient.mirror.Plugin, otfbot.plugins.ircClient.moon.Plugin, otfbot.plugins.ircClient.quotesfromweb.Plugin, otfbot.plugins.ircClient.reminder.Plugin, otfbot.plugins.ircClient.seen.Plugin, otfbot.plugins.ircClient.statistics.Plugin, otfbot.plugins.ircClient.tictactoe.Plugin, otfbot.plugins.ircClient.timediff.Plugin, otfbot.plugins.ircClient.tv.Plugin, otfbot.plugins.ircClient.url.Plugin, otfbot.plugins.ircClient.version.Plugin, otfbot.plugins.ircClient.vote.Plugin, otfbot.plugins.ircClient.weather.Plugin, otfbot.plugins.ircClient.youtube.Plugin, otfbot.plugins.ircServer.basic.Plugin, otfbot.plugins.ircServer.controlServer.Plugin, otfbot.plugins.ircServer.human.Plugin

this class is mainly for documentation of the callbacks. some functions are helper functions for common tasks, i.e. kicked calls userLeft, so a plugin only implementing userLeft will notice that a kicked user left the channel. a plugin implementing kicked too, can handle it independent from userLeft, because kicked will be overwritten
Method __init__ Undocumented
Method auth check the authorisation of the user
Method joined we have joined a channel
Method command a command message received
Method query 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): (source)
Undocumented
def auth(self, user): (source)
check the authorisation of the user
def joined(self, channel): (source)
we have joined a channel
def command(self, user, channel, command, options): (source)
a command message received
def query(self, user, channel, msg): (source)
a private message received
def msg(self, user, channel, msg): (source)
message received
def connectionMade(self): (source)
made connection to server
def connectionLost(self, reason): (source)
lost connection to server
def signedOn(self): (source)
successfully signed on
def left(self, channel): (source)
we have left a channel
def noticed(self, user, channel, msg): (source)
we got a notice
def action(self, user, channel, msg): (source)
action (/me) received
def modeChanged(self, user, channel, set, modes, args): (source)
mode changed
def kickedFrom(self, channel, kicker, message): (source)
someone kicked the bot
def userKicked(self, kickee, channel, kicker, message): (source)
someone kicked someone else
def userJoined(self, user, channel): (source)
a user joined the channel
def userJoinedMask(self, user, channel): (source)
Undocumented
def userLeft(self, user, channel): (source)
a user left the channel
def userQuit(self, user, quitMessage): (source)
a user disconnect from the network
def yourHost(self, info): (source)
info about your host
def userRenamed(self, oldname, newname): (source)
a user changed the nick
def topicUpdated(self, user, channel, newTopic): (source)
a user changed the topic of a channel
def irc_unknown(self, prefix, command, params): (source)
an IRC-Message, which is not handle by twisted was received
def stop(self): (source)
called, when the bot is stopped, or the module is reloaded
def reload(self): (source)
called to reload the settings of the module
def start(self): (source)
called to start the work of the module put your initialization stuff in here insteadof __init__
def sendLine(self, line): (source)
Undocumented
def lineReceived(self, line): (source)
Undocumented
def ctcpQuery(self, user, channel, messages): (source)
called for ctcp queries
API Documentation for OtfBot, generated by pydoctor at 2011-05-03 16:14:29.