diff options
author | 2021-04-18 22:31:40 +0100 | |
---|---|---|
committer | 2021-04-18 22:31:40 +0100 | |
commit | 6169ed2b73a5f2d763a2758e69ba4983127a1373 (patch) | |
tree | 0f69b61fafad6d9e9dafff93399423d6c0e15d72 | |
parent | Check if a duration was provided (diff) |
Fix linting errors
-rw-r--r-- | bot/exts/moderation/infraction/superstarify.py | 2 |
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}' |