Commit Graph

49 Commits

Author SHA1 Message Date
2164e98730 General cleanup
- Moved alert removal reminder to bottom of message

- debug output of alerts to discord only on debug environments
2024-12-20 18:58:42 -08:00
f20a8c6476 Version bump 2024-12-16 14:45:49 -08:00
3fffcf86c9 Format timestamps to be in local time zone provided by Discord 2024-12-16 14:45:36 -08:00
84561948da Help code update 2024-12-14 20:58:01 -08:00
621bd16d71 Formatting 2024-12-14 20:57:53 -08:00
7c6b66660e Bump version 2024-12-14 20:43:22 -08:00
dfa5637a42 Log when alerts are being sent for restart safety
Maybe we could catch and hold signals here too?
2024-12-14 20:43:12 -08:00
9ddba0d9b1 Supress an error raised from deferring 2024-12-14 20:38:12 -08:00
ceaabe3dac Fix await for user_is_registered 2024-12-14 20:29:21 -08:00
a9e50c2c8e (minor) Text update to reflect new bot name 2024-12-10 00:39:12 -08:00
ab885fccff (minor) Formatting fix since I had to remove the pre-commit hook for now
There was some terrible funky interaction between PyCharm, Black, and the pre-commit hook where the pre-commit black would complain that the file formatted need fixing, but black in the IDE and CLI would pass with no issue.
2024-12-10 00:01:13 -08:00
aa58f775ab Bump version to match changes 2024-12-09 23:17:18 -08:00
4cd7e6284b Change flow to include use registration when adding an alert
reuse /register for changing the region registration

fix interaction timed out bug
2024-12-09 23:13:44 -08:00
719842c20e Add basic compose file for the short term 2024-12-08 18:37:38 -08:00
df0cd8b40e Properly scream when token database unreachable
This increases the retries before giving up and gives a backoff if it's failed once but if token data is unavailable scream loudly
2024-12-08 18:22:28 -08:00
5a34e6f3ed (minor) add missing newline 2024-12-08 18:16:15 -08:00
eef31b5631 Install pre-commit hooks 2024-12-08 18:15:06 -08:00
e7a9466092 Make all private variables actually private and provide them as properties instead 2024-12-08 18:13:48 -08:00
dd97d9b1f9 Include a link to the chart in a given alert render 2024-12-08 18:13:03 -08:00
cd23c8e350 Install pre-commit hooks 2024-12-08 18:10:01 -08:00
34badf17eb Once and for all reformat.
Will be using black code formatter
2024-12-08 17:07:26 -08:00
3a06464c29 General tracker.py improvements
Mostly speed-ups by awaiting multiple awaits where there's not a dependency on each other's results, and bounds checks
2024-12-08 16:48:05 -08:00
62c205aa35 correct return type in history_manager.py 2024-12-08 16:44:25 -08:00
c7c2589947 Use uvloop for faster performance 2024-12-08 16:44:06 -08:00
c064c6bade Update current functions to give data relevant to only the registered region 2024-12-07 16:21:52 -08:00
895e50bdd3 Hopefully fix the issue with the last_trigger pointer being incorrectly set to a very old data point 2024-12-07 15:18:25 -08:00
5d084dbae5 The is_owner check doesn't work in the context I used it in, so change it to check against my userID 2024-12-07 14:51:21 -08:00
5372ec1d94 Change core startup to use logger instead of print 2024-12-04 20:32:08 -08:00
e5caf72829 Add some debugging information for myself to debug triggers not firing when expected 2024-12-04 20:31:54 -08:00
3303f9a939 Consistent option was removed from controller 2024-12-04 08:06:57 -08:00
99ad0f79d9 Register now opens a direct message with you 2024-12-03 17:56:50 -08:00
ec1bf6f1d1 Check if user exists and if alerts exist before attempting to list them 2024-12-03 17:41:00 -08:00
ad504aba42 Update the Commands with descriptions and implement remove-alert 2024-12-03 16:59:50 -08:00
9a36bb3f47 Unify the way alerts and users are handled on the DB side 2024-12-03 16:59:20 -08:00
50f65abced Make the info panel show the correct last alerting
Before, it was checking against the moved pointer, which could cause inaccurate
2024-12-03 04:27:35 -08:00
ac5d794df1 Render alerts list functionality as embeds and make more pretty 2024-12-03 04:13:12 -08:00
96249bd608 Correctly determine ATH and ATL based on start date for each history 2024-12-03 04:12:48 -08:00
130406786f Fix Enum conversion for ATH and ATL strings 2024-12-03 04:11:30 -08:00
5a2e183ccd Clean up alert message, move notification to an embed 2024-12-03 02:43:06 -08:00
62e3fec496 Fix dep resolution 2024-12-02 05:03:17 -08:00
ac76ba688e import optimization to make linter less mad 2024-12-02 04:58:16 -08:00
bae56703ba Update deps 2024-12-02 04:57:55 -08:00
a067953467 Bug fixes
Based on the first day of dogfooding for myself
2024-11-30 23:42:35 -08:00
5db4e76de8 Update to use discord user id instead of member id
This is so interactions will work in a DM with the bot as well as in servers where the bot is located
2024-11-30 04:45:36 -08:00
cddc49bbfe Squelch ongoing alerts so message is only sent once 2024-11-30 04:45:00 -08:00
aa955816f9 Update the logger to log timestamps 2024-11-30 04:43:35 -08:00
f78616a34d Update Dockerfie so docker build wont complain anymore 2024-11-30 04:43:12 -08:00
c78ced85ca Very Initial MVP
There is so much more to do, but I think it is time to commit this to VCS
2024-11-30 03:27:32 -08:00
c1a3c73c1d Initial commit 2024-06-23 02:00:56 +00:00