From c58188bb6ab0cd7bb15f477c2f2d33843341c58d Mon Sep 17 00:00:00 2001 From: insert Date: Mon, 12 Aug 2024 15:28:20 -0400 Subject: [PATCH] Update --- gameutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gameutils.py b/gameutils.py index 0e0e459..994a8f0 100644 --- a/gameutils.py +++ b/gameutils.py @@ -28,6 +28,7 @@ class TurnModal(nextcord.ui.Modal): self.add_item(self.text) async def callback(self, interaction: nextcord.Interaction) -> None: + check = vars(interaction.permissions) if not self.fristrun: await interaction.response.edit_message(content=self.message) await interaction.followup.send(f"<{self.turnping}> it is now your turn!\n{self.text.value}") @@ -38,7 +39,7 @@ class TurnModal(nextcord.ui.Modal): await sentmsg.pin() except: pass - await interaction.followup.send(f"<@{self.fristrun.id}> it is now your turn!\n{self.text.value}") + await interaction.followup.send(f"<@{self.fristrun.id}> it is now your turn!{check}\n{self.text.value}") async def on_error(self, error: nextcord.DiscordException, interaction: nextcord.Interaction): error = traceback.format_exc()