Everneth / EMI

Everneth Management Interface - This is a all-inclusive tool to open up commands and access to players who help run the various teams for the Everneth Survival Multiplayer community
MIT License
3 stars 0 forks source link

ReportManager rework #89

Open JMWren opened 2 years ago

JMWren commented 2 years ago

This class is in a similar state to the WhitelistAppService. The logic is hard to follow as it contains a lot of branches which could likely be reduced into a more human-readable state. The report commands are relatively unused so I am not even entirely sure it works properly, but I aim to push the use of these commands more and more. Just like the WhitelistAppService rework, this class should implement its own MessageReceived listener.

Perhaps the best course of action would be to simply remove reports to all the possible ministries and exclusively focus on reports to staff.

TptMike commented 2 years ago

All the logic pertaining to relaying messages to discord for those unsynced could be removed as those features are no longer needed. Since syncing is now required (and wasn't then), this should cut out at least half of the spaghet in the code.