Traceback (most recent call last): File "G:\Python\Lib\site-packages\disnake\http.py", line 462, in static_login data: user.User = await self.request(Route("GET", "/users/@me")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\Python\Lib\site-packages\disnake\http.py", line 415, in request raise HTTPException(response, data) disnake.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 "c:\Users\User\Desktop\Nustly\main.py", line 34, in <module> bot.run ("MTE5OTQyNzkzNDk1MjM2MjA1NQ.GEAxW9.sOh_pAWgfZsk33cEpu0o9M41jYLDzkpGx13ajc") File "G:\Python\Lib\site-packages\disnake\client.py", line 1126, in run return future.result() ^^^^^^^^^^^^^^^ File "G:\Python\Lib\site-packages\disnake\client.py", line 1105, in runner await self.start(*args, **kwargs) File "G:\Python\Lib\site-packages\disnake\client.py", line 1066, in start await self.login(token) File "G:\Python\Lib\site-packages\disnake\ext\commands\interaction_bot_base.py", line 224, in login await super().login(token) File "G:\Python\Lib\site-packages\disnake\ext\commands\common_bot_base.py", line 131, in login await super().login(token=token) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\Python\Lib\site-packages\disnake\client.py", line 865, in login data = await self.http.static_login(token.strip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\Python\Lib\site-packages\disnake\http.py", line 466, in static_login raise LoginFailure("Improper token has been passed.") from exc disnake.errors.LoginFailure: Improper token has been passed.
File "G:\Python\Lib\site-packages\disnake\http.py", line 462, in static_login
data: user.User = await self.request(Route("GET", "/users/@me"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\Python\Lib\site-packages\disnake\http.py", line 415, in request
raise HTTPException(response, data)
disnake.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 "c:\Users\User\Desktop\Nustly\main.py", line 34, in <module>
bot.run ("MTE5OTQyNzkzNDk1MjM2MjA1NQ.GEAxW9.sOh_pAWgfZsk33cEpu0o9M41jYLDzkpGx13ajc")
File "G:\Python\Lib\site-packages\disnake\client.py", line 1126, in run
return future.result()
^^^^^^^^^^^^^^^
File "G:\Python\Lib\site-packages\disnake\client.py", line 1105, in runner
await self.start(*args, **kwargs)
File "G:\Python\Lib\site-packages\disnake\client.py", line 1066, in start
await self.login(token)
File "G:\Python\Lib\site-packages\disnake\ext\commands\interaction_bot_base.py", line 224, in login
await super().login(token)
File "G:\Python\Lib\site-packages\disnake\ext\commands\common_bot_base.py", line 131, in login
await super().login(token=token) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\Python\Lib\site-packages\disnake\client.py", line 865, in login
data = await self.http.static_login(token.strip())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\Python\Lib\site-packages\disnake\http.py", line 466, in static_login
raise LoginFailure("Improper token has been passed.") from exc
disnake.errors.LoginFailure: Improper token has been passed.