This commit is contained in:
insert 2024-08-11 00:45:22 -04:00
parent bc1b95126b
commit 1a6c6a0b78
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -27,7 +27,7 @@ class TurnModal(nextcord.ui.Modal):
async def callback(self, interaction: nextcord.Interaction) -> None: async def callback(self, interaction: nextcord.Interaction) -> None:
if not self.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:
sentmsg = await interaction.response.send_message(self.message, view=GameView(), allowed_mentions=nextcord.AllowedMentions.none()) sentmsg = await interaction.response.send_message(self.message, view=GameView(), allowed_mentions=nextcord.AllowedMentions.none())
try: try: