Update
This commit is contained in:
parent
a6fe179c85
commit
f7454f6324
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class GameView(nextcord.ui.View):
|
||||||
else:
|
else:
|
||||||
message = message + i + "\n"
|
message = message + i + "\n"
|
||||||
print(interaction.user.guild_permissions)
|
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!")
|
await interaction.followup.send(f"<{turnping}> it is now your turn!")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ class gameutils(commands.Cog):
|
||||||
random.shuffle(users)
|
random.shuffle(users)
|
||||||
for i in range(len(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(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!")
|
await interaction.followup.send(f"<@{users[0]}> it is now your turn!")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue