Traceback (most recent call last):


 "/home/aaa/venvs/myenv/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 294, in _reconnect

await self._send_loop_handle


 "/home/aaa/venvs/myenv/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 379, in _send_loop

body = self.state.pack_message(message)


 "/home/aaa/venvs/myenv/lib/python3.6/site-packages/telethon/network/mtprotostate.py", line 88, in pack_message

self.auth_key.key[88:88 + 32] + data + padding).digest()
AttributeError: 'NoneType' object has no attribute 'key'

Traceback (most recent call last):


 "C:\Users\h0r1zonZ\Desktop\A\B\C\regular\DEFENDER.py", line 53, in <module>

Bot.run(token)


 "C:\Program 
s (x86)\Python36-32\lib\site-packages\discord\client.py", line 543, in run

loop = self.loop
AttributeError: 'str' object has no attribute 'loop'
