From 90896fa9be440fb3882cf2ee7a0b7fca0e02e7c6 Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 17 Jul 2023 18:32:21 +0200 Subject: [PATCH] Fix 1 --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 08a47f6..eaf3937 100644 --- a/bot.py +++ b/bot.py @@ -1541,13 +1541,13 @@ async def zagraj_muzyke_mego_ludu(ctx): """ stats = {} if ctx: - stat_iter = get_stats(ctx, 100) + stat_iter = get_stats(ctx, 1500) async for name, how_many in stat_iter: if len(name) > 3: stats[name] = how_many sorted_stats = sorted(stats.items(), key=lambda x: x[1]) - sorted_stats = list(reversed(sorted_stats)) + print(sorted_stats) reply = "Wygenerowana plejlista:\n" async with ctx.typing():