Added additional help for karma command.

This commit is contained in:
Jeremy Fincher 2003-10-02 00:16:39 +00:00
parent f9a7bf0609
commit 0e0dad2341

View File

@ -312,9 +312,10 @@ class ChannelDB(callbacks.PrivmsgCommandAndRegexp, ChannelDBHandler):
irc.reply(msg, s) irc.reply(msg, s)
def karma(self, irc, msg, args): def karma(self, irc, msg, args):
"""[<channel>] <text> """[<channel>] [<text>]
Returns the karma of <text>. <channel> is only necessary if the Returns the karma of <text>. If <text> is not given, returns the top
three and bottom three karmas. <channel> is only necessary if the
message isn't sent on the channel itself. message isn't sent on the channel itself.
""" """
channel = privmsgs.getChannel(msg, args) channel = privmsgs.getChannel(msg, args)