HullSeals / HalpyBOT

The Hull Seals IRC Utility bot, built with Pydle
GNU General Public License v3.0
7 stars 3 forks source link

[Consolodation] Refactor Exceptions #337

Closed Rixxan closed 1 year ago

Rixxan commented 1 year ago

Relies on #334 and #336.

1) Currently HBOT has a number of different exception classes (NoResultsEDSM, DiscordWebhookError, etc) all defined scattershot through the project. This migrates them all to their own dedicated "exceptions" subpackage.

B] Currently we have an EDSMUtils decorator for some commands, and as part of a refactor I'm doing on branch 111, moving those into a CaseUtils decorator. This migrates all command decorators to one unified decorator class under utils for ease of use.

III - Sys Cleaner and Cache Prep are more rightly utility functions than EDSM functions (they all only work internal to the bot) - moving them to packages\utils.