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

Structural Refactor of the bot #211

Open
LightDestory opened this issue May 1, 2022 · 0 comments
Open

Structural Refactor of the bot #211

LightDestory opened this issue May 1, 2022 · 0 comments
Labels

Comments

@LightDestory
Copy link
Member

The current logic is not optimal, it depends on strings and so on.

For example the read_md, informative_callback relies on actual filenames that are binded to commands. Moreover some strings are hardcoded in places where it is impossible to get the language_code provided by Telegram thanks to the Update instance.

Hardcoded texts are used to run tests too...

My suggestion is to develop from scratch with modularity as main target.

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