mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Karma: Refer to plugins.Karma.rankingDisplay in Karma.karma's help.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 45abdc8248
)
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
parent
8baf08b882
commit
fa7c17e24e
@ -281,10 +281,11 @@ class Karma(callbacks.Plugin):
|
||||
"""[<channel>] [<thing> ...]
|
||||
|
||||
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
|
||||
details of its karma; if more than one <thing> is given, returns the
|
||||
total karma of each of the the things. <channel> is only necessary if
|
||||
the message isn't sent on the channel itself.
|
||||
N karmas, where N is determined by the config variable
|
||||
supybot.plugins.Karma.rankingDisplay. If one <thing> is given, returns
|
||||
the details of its karma; if more than one <thing> is given, returns
|
||||
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:
|
||||
name = things[0]
|
||||
|
Loading…
Reference in New Issue
Block a user