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

Overhaul and simplify interaction logic for issues #36

Open
jamesbt365 opened this issue May 8, 2024 · 0 comments
Open

Overhaul and simplify interaction logic for issues #36

jamesbt365 opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jamesbt365
Copy link
Member

Currently the logic is very complex, extremely annoying to understand and even more annoying to expand.

Storing a State for each invocation that contains bools on what is and isn't set. This would make general expanding of this code much easier.

Then each interaction can just update a value then run a function that updates the message, way simpler than the current logic where each branch edits the message manually.

@jamesbt365 jamesbt365 added the enhancement New feature or request label May 8, 2024
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
None yet
Development

No branches or pull requests

1 participant