1
0

fix player random extraction number

This commit is contained in:
andrea
2025-07-26 15:35:45 +02:00
parent 5f0d6ad3f5
commit 871b3d2ab1

View File

@@ -17,7 +17,7 @@ async def add_random_players(update, context, colors_names= False):
_rand.shuffle(names)
lucky_players= _rand.sample(names, players_num)
print(f'add_random_players: extracting {players_num} random players for the game')
for name in names: await add_player(update, context, name)
for name in lucky_players: await add_player(update, context, name)
async def get_players(update, context):
Arena= context.application.bot_data['arena']