SHA256
fix player random extraction number
This commit is contained in:
1 parent
5f0d6ad3f5
commit
871b3d2ab1
1 file changed
+1
-1
@@ -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']
|
||||
|
||||
Reference in new issue
Block a user