diff --git a/bot.py b/bot.py index d067a5b..c9d8dc2 100644 --- a/bot.py +++ b/bot.py @@ -823,7 +823,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None): skip_start = 2 else: skip_start = 1 - for word in word_list[skip_start:]: + async for word in async_iterator_generator(word_list[skip_start:]): token_weight = len(word) logger.info("Słowo kluczowe: %s", word) itr = 0