Update
This commit is contained in:
parent
f7454f6324
commit
d7533ef963
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ class gameutils(commands.Cog):
|
||||||
users = role.members
|
users = role.members
|
||||||
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]}>\n"
|
||||||
await interaction.response.send_message(nextcord.utils.escape_markdown(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].id}> it is now your turn!")
|
||||||
|
|
||||||
|
|
||||||
def setup(bot: commands.Bot):
|
def setup(bot: commands.Bot):
|
||||||
|
|
Loading…
Reference in a new issue