Update
This commit is contained in:
parent
d8997453f9
commit
114fddadf1
1 changed files with 0 additions and 2 deletions
|
@ -28,8 +28,6 @@ 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:
|
||||||
if not self.text.value:
|
|
||||||
self.text.value = ""
|
|
||||||
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}")
|
||||||
|
|
Loading…
Reference in a new issue