You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the issue tracker for the discord.py library, not aiocron. So this does not belong here.
Chances are the aiocron library implicitly fetches the loop and it's different from the running loop, causing a mismatch and an error. This is not a problem if you use something like the tasks extension since it lazily fetches the running loop when it's available.
Yes, discord.py now uses modern asyncio idioms that utilize asyncio.run. If you want more information feel free to read this gist. As it is now, consider filing an issue to the maintainers of aiocron to work well with a running event loop.
Yes, discord.py now uses modern asyncio idioms that utilize asyncio.run. If you want more information feel free to read this gist. As it is now, consider filing an issue to the maintainers of aiocron to work well with a running event loop.
Oh make sense now, im trying to use the discord.ext tasks then.
thank you for reply
Summary
aiocron tasks stopped to work in 2.0, simply not start. In the version 1.7.3 working perfetly
Reproduction Steps
Updated the 1.7.3 discord.py to 2.0 alpha..
Minimal Reproducible Code
Expected Results
Beep in every one :) (Just for example)
Actual Results
Nothing, like the .start() even not start..
Intents
discord.Intents().all()
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: