Just after a few seconds of running my code this error comes which is there in "Actual Results" Section. The problem appears only on a few accounts of discord and not all
Reproduction Steps
None
Code
No response
Expected Results
Bot should just automate and send the messages we want from it but instead it is giving this error below
Actual Results
ClientEventTask exception was never retrieved
future: <ClientEventTask state=finished event=on_message coro=<bound method MyClient.on_message of <main.MyClient object at 0x7fdd00154bb0>> exception=SystemExit(None)>
Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 621, in run
loop.run_forever()
File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
self._run_once()
File "/usr/lib/python3.8/asyncio/base_events.py", line 1859, in _run_once
handle._run()
File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, self._args)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 301, in _run_event
await coro(args, **kwargs)
File "main.py", line 24, in on_message
quit()
File "/usr/lib/python3.8/_sitebuiltins.py", line 26, in call
raise SystemExit(code)
SystemExit: None
System Information
Python v3.8.7-final
discord.py-self v1.9.1-final
aiohttp v3.7.4.post0
system info: Windows 10 10.0.19041
Checklist
[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).
Summary
Just after a few seconds of running my code this error comes which is there in "Actual Results" Section. The problem appears only on a few accounts of discord and not all
Reproduction Steps
None
Code
No response
Expected Results
Bot should just automate and send the messages we want from it but instead it is giving this error below
Actual Results
System Information
Checklist
Additional Information
No response