Traceback (most recent call last):
File "./admin_bot.py", line 171, in <module>
Bot.start()
File "./admin_bot.py", line 166, in start
self.bot.polling()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\__init__.py", line 455, in polling
self.__threaded_polling(none_stop, interval, timeout, long_polling_timeout)
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\__init__.py", line 513, in __threaded_polling
raise e
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\__init__.py", line 479, in __threaded_polling
self.worker_pool.raise_exceptions()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\util.py", line 118, in raise_exceptions
raise self.exception_info
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telebot\util.py", line 69, in run
task(*args, **kwargs)
File "./admin_bot.py", line 141, in message
app.get_chat_member(channel)
File "C:\Users\user\Desktop\telegram bot\app.py", line 14, in get_chat_member
client.start()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telethon\client\auth.py", line 132, in start
coro if self.loop.is_running()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telethon\client\telegrambaseclient.py", line 460, in loop
return asyncio.get_event_loop()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\asyncio\events.py", line 639, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'WorkerThread1'.