This commit is contained in:
insert 2024-08-10 13:34:27 -04:00
parent fedf66987a
commit 21b189def1
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -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(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, allowed_mentions=nextcord.AllowedMentions.none()) await interaction.response.send_message(message, allowed_mentions=nextcord.AllowedMentions.none())