From 33691b2c25cba8f610efaedf0416a7a3b5f938d8 Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 15:52:40 -0400 Subject: [PATCH] Update --- gameutils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gameutils.py b/gameutils.py index 91f302d..3b94d9a 100644 --- a/gameutils.py +++ b/gameutils.py @@ -16,9 +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): - 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) + await interaction.response.send_message(f"You don't have permission! {application_checks.check(application_checks.has_permissions(manage_roles=True))}", ephemeral=True) ogmsg = interaction.message.content.split("\n") ogmsg.pop(0) message = "It has been decreed..\n"