better wording for karma, now that it's per-user
This commit is contained in:
parent
e96173d60c
commit
dde10c11d8
1 changed files with 3 additions and 2 deletions
|
@ -64,7 +64,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
self._set_throttle(sender, positive)
|
self._set_throttle(sender, positive)
|
||||||
karma_str = self._karma_str(karma)
|
karma_str = self._karma_str(karma)
|
||||||
return True, "%s now has %s karma" % (target, karma_str)
|
|
||||||
|
return True, "%s has given %s %s karma" % (
|
||||||
|
sender.nickname, target, karma_str)
|
||||||
|
|
||||||
@utils.hook("command.regex", pattern=REGEX_WORD)
|
@utils.hook("command.regex", pattern=REGEX_WORD)
|
||||||
@utils.hook("command.regex", pattern=REGEX_PARENS)
|
@utils.hook("command.regex", pattern=REGEX_PARENS)
|
||||||
|
@ -110,7 +112,6 @@ class Module(ModuleManager.BaseModule):
|
||||||
karma = self._karma_str(sum(settings.values()))
|
karma = self._karma_str(sum(settings.values()))
|
||||||
event["stdout"].write("%s has %s karma" % (target, karma))
|
event["stdout"].write("%s has %s karma" % (target, karma))
|
||||||
|
|
||||||
|
|
||||||
@utils.hook("received.command.resetkarma")
|
@utils.hook("received.command.resetkarma")
|
||||||
@utils.kwarg("min_args", 2)
|
@utils.kwarg("min_args", 2)
|
||||||
@utils.kwarg("help", "Reset a specific karma to 0")
|
@utils.kwarg("help", "Reset a specific karma to 0")
|
||||||
|
|
Loading…
Reference in a new issue