Forgot to define now in !addbadge (badges.py)

This commit is contained in:
jesopo 2018-12-20 21:04:45 +00:00
parent 9547c116f1
commit 20819a2478

View file

@ -32,6 +32,8 @@ class Module(ModuleManager.BaseModule):
badge_lower = badge.lower()
badges = self._get_badges(event["user"])
now = self._round_up_day(self._now())
found_badge = None
for badge_name in badges.keys():
if badge_name.lower() == badge_lower: