Skip to content

HFC Notificator v2.3.0

Choose a tag to compare

@GaMeNu GaMeNu released this 24 Jun 12:01
· 7 commits to master since this release

This is the third major update for HFC Notificator v2!

Successfully withstanding the 4 consecutive waves of missiles in the morning of June 24th, this release brings many changes and optimizations!

鈽戯笍 New Features

馃捇 For Devs and Maintainers:

  • Added a cog hot-reloading system! This will allow quick maintanace in case something breaks. See README.md/Command Documentation/Maintainer Commands for more info and documentation.
  • db_update script should now automatically detect database version using a generated data file

鈴憋笍 Optimizations

  • Rewrote most of the channel alerting system! Alerts with multiple districts should now have all districts batched and listed in a dedicated embed.
    • Alerts sent with 8 districts or less (per channel) will have all districts listed in the alert's embed itself ("unified embed" from now on).
    • Alerts sent with more than 8 districts will have the districts in a separate embed, dedicated for districts, as well as all district-specific info (e.g. time to reach the shelter).
    • If 2 or more district embeds are sent, an additional alert END embed will be sent so information about the alert itself will not be lost
    • The unified embed and district embeds will be sent with formatted message content, which will apear first in mobile and overlay notifications.
  • Improved database querying using JOIN SQL statements.

馃敡 Bugfixes

  • Added category awareness to district timeouts, so 2 alerts of different categories can be sent for the same district, while still in cooldown.

馃З Other changes:

  • Seperated most commands to a separate cog, to isolate the notificator loop and allow for reloading of the two seperately
  • Changed and re-organized file structure

Full Changelog: v2.2.7...v2.3.0