Actually hook in to !removebadge (badges.py)
This commit is contained in:
parent
a837ac3add
commit
f1e72d4b4e
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class Module(ModuleManager.BaseModule):
|
|||
self._set_badges(event["user"], badges)
|
||||
event["stdout"].write("Added '%s' badge" % badge)
|
||||
|
||||
@utils.hook("received.command.removebadge", min_args=1)
|
||||
def remove_badge(self, event):
|
||||
badge = event["args"]
|
||||
badge_lower = badge.lower()
|
||||
|
|
Loading…
Reference in a new issue