From dd4eb1d7b37e3dcf4217b817d1101fb029b8b305 Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 14:14:21 -0400 Subject: [PATCH] Update --- gameutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gameutils.py b/gameutils.py index 2cbba66..5ed827b 100644 --- a/gameutils.py +++ b/gameutils.py @@ -15,7 +15,6 @@ class GameView(nextcord.ui.View): @nextcord.ui.button( label="Next Turn", style=nextcord.ButtonStyle.green, custom_id="gameutils:nextturn" ) - @nextcord.ext.application_checks.has_permissions(manage_roles=True) async def approve(self, button: nextcord.ui.Button, interaction: nextcord.Interaction): ogmsg = interaction.message.content.split("\n") ogmsg.pop(0) @@ -33,6 +32,7 @@ class GameView(nextcord.ui.View): continue else: message = message + i + "\n" + print(interaction.user.guild_permissions) await interaction.response.edit_message(message) await interaction.followup.send(f"<{turnping}> it is now your turn!") return