mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
fix lobby start button interaction failing
This commit is contained in:
1 parent
24416aa216
commit
9f3a58242e
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user