1099292156
python -m pip install discord.py bide böyle denermisin
oldu
2024-06-14 00:51:58] [INFO ] discord.client: logging in using static token
Traceback (most recent call last):
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\http.py", line 803, in static_login
data = await self.request(Route('GET', '/users/@me'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\http.py", line 745, in request
raise HTTPException(response, 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 "C:\Users\pc\Desktop\http\bot.py", line 176, in <module>
bot.run(token)
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 860, in run
asyncio.run(runner())
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 849, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 777, in start
await self.login(token)
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\client.py", line 612, in login
data = await self.http.static_login(token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pc\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\http.py", line 807, in static_login
raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed buney