aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-02 18:49:02 +0200
committerGravatar GitHub <[email protected]>2020-12-02 18:49:02 +0200
commit00ff5738ea29d51d2db4c633a112da0b1a71aedd (patch)
treef16e54d2ead00a09a1f17faadcdbcbc2553d343b
parentFix removing extensions and cogs for bot shutdown (diff)
Remove unnecessary f-string
-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 ca4d18c98..44c31cd13 100644
--- a/bot/exts/moderation/infraction/_scheduler.py
+++ b/bot/exts/moderation/infraction/_scheduler.py
@@ -359,7 +359,7 @@ class InfractionScheduler:
log.info(
f"Can't pardon {infraction['type']} for user {infraction['user']} because user left the guild."
)
- log_text["Failure"] = f"User left the guild."
+ log_text["Failure"] = "User left the guild."
log_content = mod_role.mention
else:
log.exception(f"Failed to deactivate infraction #{id_} ({type_})")