Port Verification and Attendance data from the BotGuild object to the Verification utility class. #225
Labels
code-improvement
enhancement
New feature or request
new feature
A new feature to be added
P2
(Priority 2) Medium priority for dev team.
Is your feature request related to a problem? Please describe.
A big problem with BotGuild is that it holds a lot of data and it is hard to keep track.
Furthermore, we have a Verification utility class that holds no data and is only used for the static functions that hold verification logic.
Describe the solution you'd like
My thought was we could port the BotGuild verification data to the Verification class.
Then this class will have its own toJson constructor and toJson function.
The BotGuild class will then contain a Verification object that uses its fromJson and toJson functions to build from and break into MongoDB data.
Describe alternatives you've considered
Just not doing it? HAHAH
Additional context
I think this is good to do because it will simplify the BotGuild object, reducing the amount of stuff it has, and also will take us down a path where we try to make sure our classes follow the Single Responsibility Principle.
The text was updated successfully, but these errors were encountered: