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

Move error-handling into its own file #6

Open
ashuping opened this issue Sep 7, 2018 · 0 comments
Open

Move error-handling into its own file #6

ashuping opened this issue Sep 7, 2018 · 0 comments
Assignees
Labels

Comments

@ashuping
Copy link
Owner

ashuping commented Sep 7, 2018

Error-handling code is currently in the main hector.py file. This clutters up the main file. The code should instead be moved into its own file, `mod.core.errors', and loaded into the bot like the other core modules.

This issue will be resolved when all error-handling code (i.e. generating embeds, handling error messages, and updating the messages in response to reactions) is done in mod.core.errors instead of in hector.py

@ashuping ashuping added the style label Sep 7, 2018
@ashuping ashuping self-assigned this Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant