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

Reduce Duplication in code #5

Open
crypto-morph opened this issue Feb 19, 2022 · 0 comments
Open

Reduce Duplication in code #5

crypto-morph opened this issue Feb 19, 2022 · 0 comments

Comments

@crypto-morph
Copy link
Owner

Currently - there is repeated code between utils.py and autooctofinder.py.
We should reengineer functions into the utils.py - and then call them from both autooctofinder.py and discord_bot_main.py.

The win here is:

  • Both Discord and CLI versions will use identical function.
  • The codebase will be smaller (less repeated code).
  • There will only be one place to look when making a changes going forward.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant