aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-04-19 12:06:54 +0100
committerGravatar Chris Lovering <[email protected]>2022-04-19 12:06:54 +0100
commit0cff5ca70e6d22fc0df17e82285b272ad729b2b9 (patch)
tree3b9936971a9bbdd0cb9eead1e2e6244e3414c625
parentDon'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.py2
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")