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

Stats cog disables on startup if certain data is missing, this disables more functionality than intended. #48

Open
connorhsm opened this issue Jul 11, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@connorhsm
Copy link
Member

connorhsm commented Jul 11, 2020

The stats cog was originally created only to display and update the player count of the game server in the Discord guild.
This player count would be displayed in the description of the general channel, if upon startup of this cog, the ID of the general channel in the config did not result to a valid channel object, the entire cog would be unloaded and a log message would occur.

As the functionality of this cog has grown, this check has remained in place, while the extended functionality does not specifically have the same requirement.

The check at the startup of this cog should be changed to only disable the specific function it relates to.

@connorhsm connorhsm added the enhancement New feature or request label Jul 11, 2020
@connorhsm connorhsm self-assigned this Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant