From f1e72d4b4eefc9b1477afd6216328e2d48f38081 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 20 Dec 2018 20:51:03 +0000 Subject: [PATCH] Actually hook in to !removebadge (badges.py) --- modules/badges.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/badges.py b/modules/badges.py index c5a9c5b2..2d062cc1 100644 --- a/modules/badges.py +++ b/modules/badges.py @@ -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()