diff --git a/gameutils.py b/gameutils.py index 1c75e5c..d4a9290 100644 --- a/gameutils.py +++ b/gameutils.py @@ -22,7 +22,7 @@ class gameutils(commands.Cog): message = "It has been decreed..\n" users = role.members random.shuffle(users) - for u in range(users): + for u in range(len(users)): message = message + f"{str(i+1)}. <@{users[i].id}>\n" await interaction.response.send_message(message, allowed_mentions=nextcord.AllowedMentions.none())