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

Refactor SlashCommands That Have Matching MessageCommands #92

Open
Quantam-Studios opened this issue Dec 3, 2023 · 0 comments
Open
Labels
cleaner code good first issue Good for newcomers QOL quality of life

Comments

@Quantam-Studios
Copy link
Member

Currently there are 3 SlashCommands that have identical (or almost identical) logic as a MessageCommand, namely: /code preview, /analyze-link, and /quote new. The only one of the the 3 that uses a helper function to minimize redundant code is /analyze-link. This should not be he case and as such the other two commands need to be refactored to rely on helpers which handle the identical parts.

@Quantam-Studios Quantam-Studios converted this from a draft issue Dec 3, 2023
@Quantam-Studios Quantam-Studios added good first issue Good for newcomers cleaner code QOL quality of life labels Dec 3, 2023
@Quantam-Studios Quantam-Studios moved this from Near Future (to do) to In Progress in BobTheBot Updates Dec 4, 2024
Quantam-Studios added a commit that referenced this issue Dec 5, 2024
…e Redundancy

Merge pull request #211 from bob-el-bot/quick-updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaner code good first issue Good for newcomers QOL quality of life
Projects
Status: In Progress
Development

No branches or pull requests

1 participant