You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\Karan\Desktop\DAB-2.2>python main.py
Traceback (most recent call last):
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 260, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 224, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "main.py", line 105, in
client.run(shared_yaml["token"], bot=False)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 632, in run
return future.result()
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 613, in runner
await self.start(*args, **kwargs)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 576, in start
await self.login(*args, bot=bot)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 434, in login
await self.http.static_login(token.strip(), bot=bot)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 264, in static_login
raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed.
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021AB5D7B940>
Traceback (most recent call last):
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon
self._check_closed()
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
The text was updated successfully, but these errors were encountered:
i am getting the following error
C:\Users\Karan\Desktop\DAB-2.2>python main.py
Traceback (most recent call last):
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 260, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 224, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "main.py", line 105, in
client.run(shared_yaml["token"], bot=False)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 632, in run
return future.result()
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 613, in runner
await self.start(*args, **kwargs)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 576, in start
await self.login(*args, bot=bot)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 434, in login
await self.http.static_login(token.strip(), bot=bot)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 264, in static_login
raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed.
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021AB5D7B940>
Traceback (most recent call last):
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 719, in call_soon
self._check_closed()
File "C:\Users\Karan\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
The text was updated successfully, but these errors were encountered: