Skip to content

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.

…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