@desert kiln while trying to use ur code I met this problem
Traceback (most recent call last):
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 803, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\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\blomo\Desktop\Unive Kriminell Bot\ny.py", line 16, in <module>
bot.run('YOUR_BOT_TOKEN')
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 860, in run
asyncio.run(runner())
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 849, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 777, in start
await self.login(token)
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 612, in login
data = await self.http.static_login(token)
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\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.
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000015A06F06C20>
Traceback (most recent call last):
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in __del__
self.close()
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
self._check_closed()
File "C:\Users\blomo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed```






but as


makes sense
this isn't a review channel if you have any issue we can help you solve it

i kind of abandoned it






