The configurable help message now includes an example.

This commit is contained in:
Daniel DiPaolo 2003-11-26 17:27:50 +00:00
parent 1999cb4bbe
commit c97fe5e4a1

View File

@ -62,7 +62,8 @@ class Karma(callbacks.PrivmsgCommandAndRegexp,
configurables = plugins.ConfigurableDictionary( configurables = plugins.ConfigurableDictionary(
[('simple-output', plugins.ConfigurableBoolType, False, [('simple-output', plugins.ConfigurableBoolType, False,
"""Determines whether the bot will output shorter versions of the """Determines whether the bot will output shorter versions of the
karma output when requesting a single thing's karma.""")] karma output when requesting a single thing's karma. (example: 'foo:
1')""")]
) )
def __init__(self): def __init__(self):
callbacks.PrivmsgCommandAndRegexp.__init__(self) callbacks.PrivmsgCommandAndRegexp.__init__(self)