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

Task launched multiple times #82

Closed
LostArkTR opened this issue Jun 30, 2021 · 1 comment · Fixed by #88
Closed

Task launched multiple times #82

LostArkTR opened this issue Jun 30, 2021 · 1 comment · Fixed by #88
Labels
bug Something isn't working

Comments

@LostArkTR
Copy link

Describe the bug

randomly getting this error but bot still working, i guess just one time bot stopped working when i get this error.

Screenshots

image

Server:

  • OS: Windows Server 2012
  • Python version: 3.9
  • discord.py version: 1.6 - 1.7
@LostArkTR LostArkTR added the bug Something isn't working label Jun 30, 2021
@Edwinexd
Copy link
Contributor

Hey! This is caused by the on_ready event being dispatched more than once which it does after a disconnect from discord, usually a result of an unstable internet connection, the error itself isn't causing any issue besides the traceback. This is getting fixed in the cogs rework where tasks will be guaranteed to be launched just once.

@eibex eibex changed the title errors Task launched multiple times Jun 30, 2021
@eibex eibex closed this as completed in #88 Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants