Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements.txt #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

wznmickey
Copy link

aiocqhttp update the package and requirement in 0.7.0 and the functions related to timed tasks will not work.
Reference : https://aiocqhttp.nonebot.dev/#/changelog#v070

aiocqhttp update the package and requirement in 0.7.0 and the functions related to timed tasks will not work
@BoYanZh
Copy link
Owner

BoYanZh commented Sep 18, 2021

Can the timed task be fixed with the latest version of aiocqhttp?

@wznmickey
Copy link
Author

Can the timed task be fixed with the latest version of aiocqhttp?

Yes, adding asyncio.get_event_loop().run_forever() at the end of the sche function will make work well.
However, whether it will cause side effects on other functions is not sure because I still not find what is new in the higher version make the previous code not run well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants