This commit is contained in:
insert 2024-08-11 00:39:32 -04:00
parent 0c952eb940
commit 0a95d4dfe3
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -25,7 +25,7 @@ class TurnModal(nextcord.ui.Modal):
self.add_item(self.text) self.add_item(self.text)
async def callback(self, interaction: nextcord.Interaction) -> None: 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.response.edit_message(content=self.message)
await interaction.followup.send(f"<{self.turnping}> it is now your turn!\n{self.text.value}") await interaction.followup.send(f"<{self.turnping}> it is now your turn!\n{self.text.value}")
else: else: