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

[BUG] Duplicate chat after reload #3

Closed
InfernalPlacebo opened this issue Jan 29, 2020 · 3 comments
Closed

[BUG] Duplicate chat after reload #3

InfernalPlacebo opened this issue Jan 29, 2020 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@InfernalPlacebo
Copy link
Contributor

Describe the bug
When using the reload commands, autochat gets duplicated

To Reproduce
Steps to reproduce the behavior:

  1. Use >reload on the bot

Expected behavior
The bot will only output the chat once.

@InfernalPlacebo InfernalPlacebo self-assigned this Jan 29, 2020
@InfernalPlacebo InfernalPlacebo changed the title [BUG] [BUG] Duplicate chat after reload Jan 29, 2020
@InfernalPlacebo
Copy link
Contributor Author

Likely caused by the fact that the chat command is loaded as part of bot.py and when reloaded, it loads it a second time. Add checks to make sure command is only loaded once.

@SuperRayss
Copy link
Collaborator

This has been fixed I think? Not getting this issue in the latest build

@InfernalPlacebo InfernalPlacebo added bug Something isn't working good first issue Good for newcomers labels Feb 7, 2020
@InfernalPlacebo
Copy link
Contributor Author

Fixed in 35e4cc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants