Enhancement: Refactor the UpdateableGuildSetting
class into smaller, more focused classes.
#89
Labels
enhancement ➕
This is a brand new feature or request
good first issue 🥈
Good for newcomers
help wanted 🆘
Extra attention is needed
issue (complexity): Consider refactoring the UpdateableGuildSetting class into smaller, more focused classes.
The changes introduce more structured configuration options, which is good for maintainability. However, the
UpdateableGuildSetting
class has become overly complex with too many responsibilities. Consider splitting it into smaller, more focused classes:This approach maintains the structured configs while reducing complexity. It also eliminates the need for the dynamic enum creation method, which adds unnecessary abstraction. If you need an enum of all possible settings, consider creating it explicitly:
This change will make the code more maintainable and easier to understand while preserving the new functionality.
Originally posted by @sourcery-ai[bot] in #87 (comment)
Note
We utilize Polar.sh to engage in regular as well as pledge-based > sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: