diff --git a/cogs/commands/views/update_username_verify.py b/cogs/commands/views/update_username_verify.py index 0c3a94c..4d07442 100644 --- a/cogs/commands/views/update_username_verify.py +++ b/cogs/commands/views/update_username_verify.py @@ -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[0].value() - new_username: str = embed_content[1].value() + old_username: str = embed_content["fields"][0]["value"] + new_username: str = embed_content["fields"][1]["value"] guild = highscores_data.get_guild(interaction.guild_id)