This commit is contained in:
insert 2024-08-10 14:41:44 -04:00
parent 78559e3b72
commit fc35098ab8
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -16,7 +16,7 @@ class GameView(nextcord.ui.View):
label="Next Turn", style=nextcord.ButtonStyle.green, custom_id="gameutils:nextturn" label="Next Turn", style=nextcord.ButtonStyle.green, custom_id="gameutils:nextturn"
) )
async def approve(self, button: nextcord.ui.Button, interaction: nextcord.Interaction): async def approve(self, button: nextcord.ui.Button, interaction: nextcord.Interaction):
ogmsg = nextcord.utils.escape_markdown(interaction.message.content).split("\n") ogmsg = interaction.message.content.split("\n")
ogmsg.pop(0) ogmsg.pop(0)
message = "It has been decreed..\n" message = "It has been decreed..\n"
found = False found = False