Add UpdateUsernameVerify view to MessageManagementCog.
This commit is contained in:
@@ -45,8 +45,8 @@ class UpdateUsernameVerifyView(nextcord.ui.View):
|
||||
interaction (nextcord.Interaction): Interaction with the button
|
||||
"""
|
||||
embed_content = interaction.message.embeds[0].to_dict()
|
||||
old_username: str = embed_content["Old Username"]
|
||||
new_username: str = embed_content["New Username"]
|
||||
old_username: str = embed_content[0].value()
|
||||
new_username: str = embed_content[1].value()
|
||||
|
||||
guild = highscores_data.get_guild(interaction.guild_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user