Updated docstring for dispatchers slightly.

This commit is contained in:
Jeremy Fincher 2003-10-23 08:43:50 +00:00
parent 3944b00001
commit f847208b65

View File

@ -582,11 +582,11 @@ class Privmsg(irclib.IrcCallback):
self._original = getattr(self, canonicalname, None) self._original = getattr(self, canonicalname, None)
docstring = """<command> [<args> ...] docstring = """<command> [<args> ...]
Command dispatcher for %s. Use 'list %s' to see the commands Command dispatcher for the %s plugin. Use 'list %s' to see the
provided by this plugin. In most cases this dispatcher command commands provided by this plugin. In most cases this dispatcher
is unnecessary; in cases where more than one plugin defines a given command is unnecessary; in cases where more than one plugin defines a
command, use this command to tell the bot which plugin's command to given command, use this command to tell the bot which plugin's command
use.""" % (self.name(), self.name()) to use.""" % (self.name(), self.name())
def dispatcher(self, irc, msg, args): def dispatcher(self, irc, msg, args):
def handleBadArgs(): def handleBadArgs():
if self._original: if self._original: