From bb0d8766a83efc2b78a3e0bbbb0dd0db3a5b7809 Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 15:51:09 -0400 Subject: [PATCH] Update --- gameutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gameutils.py b/gameutils.py index e02c845..91f302d 100644 --- a/gameutils.py +++ b/gameutils.py @@ -16,7 +16,8 @@ class GameView(nextcord.ui.View): label="Next Turn", style=nextcord.ButtonStyle.green, custom_id="gameutils:nextturn" ) async def approve(self, button: nextcord.ui.Button, interaction: nextcord.Interaction): - if await application_checks.check(application_checks.has_permissions(manage_roles=True)): + print(application_checks.check(application_checks.has_permissions(manage_roles=True))) + if application_checks.check(application_checks.has_permissions(manage_roles=True)): await interaction.response.semd_message("You don't have permission!", ephemeral=True) ogmsg = interaction.message.content.split("\n") ogmsg.pop(0)