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

load_cogs not awaited #73

Closed
OhhTuRnz opened this issue Oct 8, 2022 · 3 comments
Closed

load_cogs not awaited #73

OhhTuRnz opened this issue Oct 8, 2022 · 3 comments
Labels
edited code Issue that is not related to the template itself but edited code waiting for author Waiting for a reply from the author to further investigate

Comments

@OhhTuRnz
Copy link

OhhTuRnz commented Oct 8, 2022

When some cog isn't loaded, it generates an asyncio runtime error because it was not awaited.

@shndowbots
Copy link
Contributor

Does this happen when you try running a command in the unloaded cog?

@kkrypt0nn kkrypt0nn changed the title load_cogs load_cog not awaited Oct 12, 2022
@kkrypt0nn kkrypt0nn added the edited code Issue that is not related to the template itself but edited code label Oct 12, 2022
@kkrypt0nn kkrypt0nn changed the title load_cog not awaited load_cogs not awaited Oct 12, 2022
@kkrypt0nn
Copy link
Owner

kkrypt0nn commented Oct 12, 2022

To help, we'd need the traceback as you gave no information for us to help you.

Make sure you are using the latest version of the template as well.

@kkrypt0nn kkrypt0nn added the waiting for author Waiting for a reply from the author to further investigate label Oct 12, 2022
@OhhTuRnz
Copy link
Author

OhhTuRnz commented Nov 6, 2022

Sorry to not answer, had a bit of problems and was off quite alot. That error happened to me when the cog that was trying to load failed, and the app tried to load another cog giving that error. The app worked fine but it was just a debug error that looked a bit bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edited code Issue that is not related to the template itself but edited code waiting for author Waiting for a reply from the author to further investigate
Projects
None yet
Development

No branches or pull requests

3 participants