Update
This commit is contained in:
parent
26f68352b0
commit
0c427bc6dc
1 changed files with 3 additions and 3 deletions
|
@ -23,9 +23,9 @@ 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:
|
||||||
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}")
|
||||||
|
|
||||||
|
|
||||||
class GameView(nextcord.ui.View):
|
class GameView(nextcord.ui.View):
|
||||||
|
|
Loading…
Reference in a new issue