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