Clear view on approval.
This commit is contained in:
@@ -52,7 +52,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
|
|||||||
|
|
||||||
content = interaction.message.content
|
content = interaction.message.content
|
||||||
content += f"\nApproved by <@{interaction.user.id}>."
|
content += f"\nApproved by <@{interaction.user.id}>."
|
||||||
await interaction.edit(content=content)
|
await interaction.edit(content=content, view=None)
|
||||||
|
|
||||||
tables = guild.update_username(old_username, new_username)
|
tables = guild.update_username(old_username, new_username)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user