aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-04-18 22:31:40 +0100
committerGravatar GitHub <[email protected]>2021-04-18 22:31:40 +0100
commit6169ed2b73a5f2d763a2758e69ba4983127a1373 (patch)
tree0f69b61fafad6d9e9dafff93399423d6c0e15d72
parentCheck if a duration was provided (diff)
Fix linting errors
-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 f5d6259cd..6fa0d550f 100644
--- a/bot/exts/moderation/infraction/superstarify.py
+++ b/bot/exts/moderation/infraction/superstarify.py
@@ -138,7 +138,7 @@ class Superstarify(InfractionScheduler, Cog):
# Set the duration to 1 hour if none was provided
if not duration:
duration = datetime.datetime.now() + datetime.timedelta(hours=1)
-
+
# Post the infraction to the API
old_nick = member.display_name
infraction_reason = f'Old nickname: {old_nick}. {reason}'