Update
This commit is contained in:
parent
d7533ef963
commit
d0013d973b
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class GameView(nextcord.ui.View):
|
|||
label="Next Turn", style=nextcord.ButtonStyle.green, custom_id="gameutils:nextturn"
|
||||
)
|
||||
async def approve(self, button: nextcord.ui.Button, interaction: nextcord.Interaction):
|
||||
ogmsg = interaction.message.content.split("\n")
|
||||
ogmsg = nextcord.utils.escape_markdown(interaction.message.content).split("\n")
|
||||
ogmsg.pop(0)
|
||||
message = "It has been decreed..\n"
|
||||
found = False
|
||||
|
@ -33,7 +33,7 @@ class GameView(nextcord.ui.View):
|
|||
else:
|
||||
message = message + i + "\n"
|
||||
print(interaction.user.guild_permissions)
|
||||
await interaction.response.edit_message(content=nextcord.utils.escape_markdown(message))
|
||||
await interaction.response.edit_message(content=message)
|
||||
await interaction.followup.send(f"<{turnping}> it is now your turn!")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue