Forgot to define now
in !addbadge (badges.py)
This commit is contained in:
parent
9547c116f1
commit
20819a2478
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue