diff --git a/gameutils.py b/gameutils.py index d3ad3f3..1fd693e 100644 --- a/gameutils.py +++ b/gameutils.py @@ -73,10 +73,10 @@ class gameutils(commands.Cog): @nextcord.ext.application_checks.has_permissions(manage_roles=True) async def turngen(self, interaction: nextcord.Interaction, role: nextcord.Role, turnmessage: str, disadvantagerole: nextcord.Role = nextcord.SlashOption(required=False)): message = f"{turnmessage}\n" + users = role.members if disadvantagerole: disusers = disadvantagerole.members - users = role.members - users = list(set(users) - set(disusers)) + users = list(set(users) - set(disusers)) random.shuffle(users) for i in range(len(users)): message = message + f"{str(i+1)}\. <@{users[i].id}>\n"