Karma: Refer to plugins.Karma.rankingDisplay in Karma.karma's help.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2010-09-08 23:44:40 -04:00
parent b0575cec88
commit 45abdc8248

View File

@ -277,10 +277,11 @@ class Karma(callbacks.Plugin):
"""[<channel>] [<thing> ...] """[<channel>] [<thing> ...]
Returns the karma of <thing>. If <thing> is not given, returns the top Returns the karma of <thing>. If <thing> is not given, returns the top
three and bottom three karmas. If one <thing> is given, returns the N karmas, where N is determined by the config variable
details of its karma; if more than one <thing> is given, returns the supybot.plugins.Karma.rankingDisplay. If one <thing> is given, returns
total karma of each of the the things. <channel> is only necessary if the details of its karma; if more than one <thing> is given, returns
the message isn't sent on the channel itself. the total karma of each of the the things. <channel> is only necessary
if the message isn't sent on the channel itself.
""" """
if len(things) == 1: if len(things) == 1:
name = things[0] name = things[0]