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/music command #1534

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dhruvi1404
Copy link

Description

-For my current university course assignment, I need to improve the code by cleaning it up and making it easier to understand and modify (refactoring) whenever it's appropriate. This pull request focuses on refactoring the codebase to improve readability, maintainability, and performance. The changes include various refactorings aimed at cleaning up the code, making it easier to understand, and facilitating future modifications.

Purpose

The purpose of this pull request is to enhance the codebase by applying several refactoring techniques. These improvements will help streamline development, reduce technical debt, and make the codebase more robust and scalable for future iterations and maintenance.

Dhruvi Akhilesh Shah added 4 commits April 1, 2024 00:20
…e a complex method and decomposed a complex condition in the music command to improve code readability and maintainability.
…educe feature envy and improve encapsulation. The method was more dependent on Bot's functionality, making it more appropriate to be housed within the Bot class.
Location: JMusicBot class
Rationale: Move the RECOMMENDED_PERMS variable to a superclass where it can be shared among multiple classes.
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

Successfully merging this pull request may close these issues.

1 participant