diff options
author | 2022-04-19 12:06:54 +0100 | |
---|---|---|
committer | 2022-04-19 12:06:54 +0100 | |
commit | 0cff5ca70e6d22fc0df17e82285b272ad729b2b9 (patch) | |
tree | 3b9936971a9bbdd0cb9eead1e2e6244e3414c625 | |
parent | Don't schedule a now non-existant task (diff) |
Don't pass unused param to infraction scheduler cog_load
-rw-r--r-- | bot/exts/moderation/infraction/_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py index 9c73bde5f..c7f03b2e9 100644 --- a/bot/exts/moderation/infraction/_scheduler.py +++ b/bot/exts/moderation/infraction/_scheduler.py @@ -72,7 +72,7 @@ class InfractionScheduler: ) log.trace("Will reschedule remaining infractions at %s", next_reschedule_point) - self.scheduler.schedule_at(next_reschedule_point, -1, self.cog_load(supported_infractions)) + self.scheduler.schedule_at(next_reschedule_point, -1, self.cog_load()) log.trace("Done rescheduling") |