Better feedback
This commit is contained in:
parent
0ca77dd023
commit
1c30e27ec9
1 changed files with 3 additions and 1 deletions
|
@ -682,7 +682,7 @@ class Jarvis(Client):
|
||||||
)
|
)
|
||||||
embed = build_embed(
|
embed = build_embed(
|
||||||
title="Moderation Case Opened",
|
title="Moderation Case Opened",
|
||||||
description="Moderation case opened against {user.mention}",
|
description=f"Moderation case opened against {user.mention}",
|
||||||
fields=fields,
|
fields=fields,
|
||||||
)
|
)
|
||||||
embed.set_author(
|
embed.set_author(
|
||||||
|
@ -705,3 +705,5 @@ class Jarvis(Client):
|
||||||
for component in row.components:
|
for component in row.components:
|
||||||
component.disabled = True
|
component.disabled = True
|
||||||
await context.message.edit(components=context.message.components)
|
await context.message.edit(components=context.message.components)
|
||||||
|
msg = "Cancelled" if context.custom_id == "modcase|no" else "Moderation case opened"
|
||||||
|
await context.send(msg)
|
||||||
|
|
Loading…
Add table
Reference in a new issue