diff options
| author | 2020-09-24 18:59:50 +0800 | |
|---|---|---|
| committer | 2020-09-24 19:00:17 +0800 | |
| commit | b65c64575f12ddee57bd6bf9bfaffafe6131890a (patch) | |
| tree | 65755d6cc4dcde780994b2a25058946e61a0f908 | |
| parent | Add visual buffer for appended reason (diff) | |
Make vertical bar separators escaped
| -rw-r--r-- | bot/exts/moderation/infraction/management.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/management.py b/bot/exts/moderation/infraction/management.py index ba1485978..bdb0e8ffa 100644 --- a/bot/exts/moderation/infraction/management.py +++ b/bot/exts/moderation/infraction/management.py @@ -87,7 +87,7 @@ class ModManagement(commands.Cog): else: old_infraction = await self.bot.api_client.get(f"bot/infractions/{infraction_id}") - reason = f"{old_infraction['reason']} || **Edit:** {reason}" + reason = fr"{old_infraction['reason']} \|\| **Edit:** {reason}" await ctx.invoke(self.infraction_edit, infraction_id=infraction_id, duration=duration, reason=reason) |