Usability enhancement: Added a note in the callbacks.Privmsg docstring which

points people to getting the config values of a plugin.
This commit is contained in:
Daniel DiPaolo 2004-04-18 08:00:29 +00:00
parent 086a2fcab6
commit 201fb0acc2

View File

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