Update
This commit is contained in:
parent
c0090e30d8
commit
fedf66987a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class gameutils(commands.Cog):
|
||||||
message = "It has been decreed..\n"
|
message = "It has been decreed..\n"
|
||||||
users = role.members
|
users = role.members
|
||||||
random.shuffle(users)
|
random.shuffle(users)
|
||||||
for u in range(users):
|
for u 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, allowed_mentions=nextcord.AllowedMentions.none())
|
await interaction.response.send_message(message, allowed_mentions=nextcord.AllowedMentions.none())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue