aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-04-19 22:02:45 +0100
committerGravatar GitHub <[email protected]>2021-04-19 22:02:45 +0100
commit91bdf9415ec88715fadf2e0a56b900b376b638db (patch)
tree21bf82dcf95081cda85f4ec5600dde835c72050e
parentMerge branch 'main' into main (diff)
Update bot/exts/moderation/infraction/superstarify.py
Co-authored-by: Boris Muratov <[email protected]>
-rw-r--r--bot/exts/moderation/infraction/superstarify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/superstarify.py b/bot/exts/moderation/infraction/superstarify.py
index ef88fb43f..07e79b9fe 100644
--- a/bot/exts/moderation/infraction/superstarify.py
+++ b/bot/exts/moderation/infraction/superstarify.py
@@ -135,7 +135,7 @@ class Superstarify(InfractionScheduler, Cog):
if await _utils.get_active_infraction(ctx, member, "superstar"):
return
- # Set the duration to 1 hour if none was provided
+ # Set to default duration if none was provided.
duration = duration or await Duration().convert(ctx, SUPERSTARIFY_DEFAULT_DURATION)
# Post the infraction to the API