From f7454f6324c573c7d1c98c05b883831a3bd6c54a Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 14:19:38 -0400 Subject: [PATCH] Update --- gameutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gameutils.py b/gameutils.py index 6733497..c71f489 100644 --- a/gameutils.py +++ b/gameutils.py @@ -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=message) + await interaction.response.edit_message(content=nextcord.utils.escape_markdown(message)) await interaction.followup.send(f"<{turnping}> it is now your turn!") return @@ -55,7 +55,7 @@ class gameutils(commands.Cog): random.shuffle(users) for i in range(len(users)): message = message + f"{str(i+1)}. <@{users[i].id}>\n" - await interaction.response.send_message(message, view=GameView(), allowed_mentions=nextcord.AllowedMentions.none()) + await interaction.response.send_message(nextcord.utils.escape_markdown(message), view=GameView(), allowed_mentions=nextcord.AllowedMentions.none()) await interaction.followup.send(f"<@{users[0]}> it is now your turn!")