fix (rroles): Fix tracker issues.

Make `cancel_expiry` arguments consistent with call.
Add initial `guild` ward to the raw reaction events.
This commit is contained in:
2021-10-24 19:39:06 +03:00
parent 66fdf54ca8
commit d619b0fe17
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ def schedule_expiry(guildid, userid, roleid, expiry, reactionid=None):
_wakeup_event.set()
def cancel_expiry(key):
def cancel_expiry(*key):
"""
Cancel expiry for the given member and role, if it exists.
"""