This commit is contained in:
insert 2024-08-10 22:47:02 -04:00
parent ba4eed2538
commit 9530dab457
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -83,7 +83,7 @@ class gameutils(commands.Cog):
if disadvantagerole: if disadvantagerole:
random.shuffle(disusers) random.shuffle(disusers)
for i in range(len(disusers)): for i in range(len(disusers)):
message = message + f"{str(i+1)}\. <@{users[i].id}> **disadventage**\n" message = message + f"{str(i+1+len(users))}\. <@{disusers[i].id}> **disadventage**\n"
sentmsg = await interaction.response.send_message(message, view=GameView(), allowed_mentions=nextcord.AllowedMentions.none()) sentmsg = await interaction.response.send_message(message, view=GameView(), allowed_mentions=nextcord.AllowedMentions.none())
try: try:
sentmsg = await sentmsg.fetch() sentmsg = await sentmsg.fetch()