diff --git a/bot.py b/bot.py index cefa8e6..9278578 100644 --- a/bot.py +++ b/bot.py @@ -827,7 +827,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None): token_weight = len(word) logger.info("Słowo kluczowe: %s", word) itr = 0 - for file in music_file_list: + async for file in async_iterator_generator(music_file_list): file = file.split(SEPARATOR_FILE_PATH) char_remove = [