Clean up username update verify message on approval.
This commit is contained in:
@@ -60,3 +60,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
|
|||||||
|
|
||||||
for group in session.scalars(stmt):
|
for group in session.scalars(stmt):
|
||||||
await send_highscore_message(interaction.guild.get_channel(group.ChannelId), group)
|
await send_highscore_message(interaction.guild.get_channel(group.ChannelId), group)
|
||||||
|
|
||||||
|
content = interaction.message.content
|
||||||
|
content += f"\nApproved by <@{interaction.user.id}>."
|
||||||
|
await interaction.message.edit(content=content, embeds=interaction.message.embeds, view=None)
|
||||||
|
|||||||
Reference in New Issue
Block a user