This commit is contained in:
insert 2024-08-10 14:43:57 -04:00
parent fc35098ab8
commit c5b4274882
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -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=message, allowed_mentions=nextcord.AllowedMentions.none())
await interaction.followup.send(f"<{turnping}> it is now your turn!")
return
@ -54,7 +54,7 @@ class gameutils(commands.Cog):
users = role.members
random.shuffle(users)
for i in range(len(users)):
message = message + f"{str(i+1)}. <@{users[i].id}>\n"
message = message + f"{str(i+1)}\. <@{users[i].id}>\n"
await interaction.response.send_message(nextcord.utils.escape_markdown(message), view=GameView(), allowed_mentions=nextcord.AllowedMentions.none())
await interaction.followup.send(f"<@{users[0].id}> it is now your turn!")