fix lobby start button interaction failing

This commit is contained in:
leander committed 2026-10-24 04:15:00 +02:00
1 parent 24416aa216
commit 9f3a58242e
1 file changed
+1 -1
+1 -1
View File
@@ -268,7 +268,7 @@ class LobbyView(discord.ui.View):
embed = interaction.message.embeds[0]
embed.description = "Lobbyen har startet!"
await interaction.message.edit(embed=embed, view=self)
await interaction.response.edit_message(embed=embed, view=self)
@discord.ui.button(label="Forlat", style=discord.ButtonStyle.gray)
async def leave_lobby(self, interaction: discord.Interaction, button: discord.ui.Button):