diff --git a/gameutils.py b/gameutils.py index b0ff0b6..9c31b5c 100644 --- a/gameutils.py +++ b/gameutils.py @@ -25,7 +25,7 @@ class TurnModal(nextcord.ui.Modal): self.add_item(self.text) async def callback(self, interaction: nextcord.Interaction) -> None: - if not fristrun: + 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}") else: