-
Notifications
You must be signed in to change notification settings - Fork 114
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
DeprecationWarning #19
Comments
@zYxDevs No idea how to fix |
@lostb053 yeah bot is working fine, i just found that error so i think should report it here |
@zYxDevs heh |
@lostb053 ok then, now let me say my request, make it possible bot to send airing, subsplease, cruncyroll, news notifier in a channels too |
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
loop.run_until_complete(main()) Should fix that. It happens cause |
Thanx |
Not that i understand reasoning why it doesn't work |
@lostb053 there is have another error too open change gui settings (bullets) then press back and see logs, there is say cant edit message with same query i guess🤔 |
@zYxDevs Will see |
Ig you might be using python3.10, in py10 default event loop is being removed from main thread, right now it works fine and just shows warning but in future it might raise |
Found this error on Heroku
/app/anibot/__main__.py:21: DeprecationWarning: There is no current event loop asyncio.get_event_loop().run_until_complete(main())
The text was updated successfully, but these errors were encountered: