Approved message now mentions person who approved.
This commit is contained in:
@@ -31,7 +31,7 @@ class VerificationView(nextcord.ui.View):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
await submit_score(interaction, user, boss_name, category, score)
|
await submit_score(interaction, user, boss_name, category, score)
|
||||||
await interaction.message.edit("Approved.", view=None)
|
await interaction.message.edit(f"Approved by <@{interaction.user.id}>.", view=None)
|
||||||
except UnboundLocalError:
|
except UnboundLocalError:
|
||||||
await interaction.send("Instruct user to submit with all fields.")
|
await interaction.send("Instruct user to submit with all fields.")
|
||||||
await interaction.message.edit(view=None)
|
await interaction.message.edit(view=None)
|
||||||
|
|||||||
Reference in New Issue
Block a user