Update
This commit is contained in:
parent
1a6c6a0b78
commit
74f5b01596
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue