merhaba arkadaşlar discord için yazdığım bot kodlarını discord.js gibi hesaba bağlayabilir miyim hesap tokenini yazıyorum hata veriyor hangi şekilde halledebilirim ?
aldığım hata bu
Traceback (most recent call last):
File "C:\Users\Python\lib\site-packages\discord\http.py", line 258, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "C:\Users\Python\lib\site-packages\discord\http.py", line 222, 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 "C:\Users\cagla\OneDrive\Masaüstü\discord\Logcu.py", line 288, in <module>
client.run('TOKENİM')
File "C:\Users\Python\lib\site-packages\discord\client.py", line 598, in run
return future.result()
File "C:\Users\Python\lib\site-packages\discord\client.py", line 579, in runner
await self.start(*args, **kwargs)
File "C:\Users\Python\lib\site-packages\discord\client.py", line 542, in start
await self.login(*args, bot=bot)
File "C:\Users\Python\lib\site-packages\discord\client.py", line 400, in login
await self.http.static_login(token, bot=bot)
File "C:\Users\Python\lib\site-packages\discord\http.py", line 262, in static_login
raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed.