Answer the question
In order to leave comments, you need to log in
How to fix this script?
I run telegram bot to get this error in console
ERROR:asyncio:Task exception was never retrieved
future: exception=TypeError("argument of type 'bool' is not iterable")>
Traceback (most recent call last):
File "C:\Users \DeadD\AppData\Local\Programs\Python\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 415, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast )):
File "C:\Users\DeadD\AppData\Local\Programs\Python\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 235, in process_updates
return await asyncio.gather(*tasks )
File "C:\Users\DeadD\AppData\Local\Programs\Python\Python38\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, * *partial_data)
File "C:\Users\DeadD\AppData\Local\Programs\Python\Python38\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 256, in process_update
return await self.message_handlers.notify( update.message)
File "C:\Users\DeadD\AppData\Local\Programs\Python\Python38\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler( *args, **partial_data)
File "bot.py", line 134, in ch
if BIN in BLACKLISTED:
TypeError: argument of type 'bool' is not iterable
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question