Clear view on approval.

This commit is contained in:
alwayscompiling
2022-08-13 20:33:14 -04:00
parent 7fb87ae12f
commit 790cff3406
@@ -52,7 +52,7 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
content = interaction.message.content
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)