diff --git a/gameutils.py b/gameutils.py index c71f489..2fb7a2f 100644 --- a/gameutils.py +++ b/gameutils.py @@ -54,9 +54,9 @@ class gameutils(commands.Cog): users = role.members random.shuffle(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.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):