diff options
| author | 2019-12-11 21:01:16 -0800 | |
|---|---|---|
| committer | 2019-12-11 21:01:26 -0800 | |
| commit | c1bf0a48692d87c5cbe9ee310cd0120bda339a96 (patch) | |
| tree | 0ff358e7ecbb15cbec79ffe8fe6da58b4bb49669 | |
| parent | ModManagement: allow "recent" as ID to edit infraction (#624) (diff) | |
ModManagement: display ID of edited infraction in confirmation message
| -rw-r--r-- | bot/cogs/moderation/management.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/cogs/moderation/management.py b/bot/cogs/moderation/management.py index 35832ded5..904611e13 100644 --- a/bot/cogs/moderation/management.py +++ b/bot/cogs/moderation/management.py @@ -139,7 +139,8 @@ class ModManagement(commands.Cog): New expiry: {new_infraction['expires_at'] or "Permanent"} """.rstrip() - await ctx.send(f":ok_hand: Updated infraction: {' & '.join(confirm_messages)}") + changes = ' & '.join(confirm_messages) + await ctx.send(f":ok_hand: Updated infraction #{infraction_id}: {changes}") # Get information about the infraction's user user_id = new_infraction['user'] |