diff options
| author | 2020-09-27 13:30:32 +0800 | |
|---|---|---|
| committer | 2020-09-27 13:30:32 +0800 | |
| commit | 84671acaeb251939722a9b93f217b6256637a998 (patch) | |
| tree | 924878db1e0bf43f447a18b4f9dc0a770b8bd259 | |
| parent | Make vertical bar separators escaped (diff) | |
Remove prefix when appending a reason
| -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 bdb0e8ffa..6b3e701c7 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 = fr"{old_infraction['reason']} \|\| **Edit:** {reason}" + reason = fr"{old_infraction['reason']} \|\| {reason}" await ctx.invoke(self.infraction_edit, infraction_id=infraction_id, duration=duration, reason=reason) |