This commit is contained in:
insert 2024-08-11 00:46:28 -04:00
parent 1a6c6a0b78
commit 74f5b01596
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:
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}")
await interaction.followup.send(f"<{self.turnping}> it is now your turn!\n{self.text.value}")
else:
sentmsg = await interaction.response.send_message(self.message, view=GameView(), allowed_mentions=nextcord.AllowedMentions.none())
try:
@ -35,7 +35,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!\n{self.text.value}")
class GameView(nextcord.ui.View):