Commit Graph

99 Commits

Author SHA1 Message Date
95b74398f3 Move parse_time function to main.py and remove parser.py; update tests accordingly 2025-02-25 16:22:30 +01:00
cc293e800d Refactor calculate function and move it to main.py; remove misc.py and update tests 2025-02-25 16:19:21 +01:00
b61ea5af19 Ignore more Ruff rules so we don't spam noqas everywhere 2025-02-24 17:16:06 +01:00
ae8949f396 Add logging for reminder operations and webhook messages 2025-02-24 17:08:00 +01:00
4aa0bd7837 Reduce the amount of files and functions 2025-02-24 13:52:00 +01:00
af6e88ba47 Improve permission checks in event handling 2025-02-20 11:18:53 +01:00
176a1a058c Refactor /remind list to use a normal embed and fix calculate() function 2025-02-13 03:07:27 +01:00
f82c410097 Use skip instead of remove in debug messages to not scare the user 2025-02-11 18:38:47 +01:00
b6f64e6cd0 Fix string formatting in job logging 2025-02-11 17:40:31 +01:00
1dba51a40d Add time and timezone information to message when creating reminder 2025-02-11 17:26:34 +01:00
39ecf4bb6c Add job event listener for missed jobs and errors; integrate Sentry for error tracking 2025-02-09 00:33:39 +01:00
5261640189 Fix /remind add not working 2025-02-04 12:58:01 +01:00
97bb8b760f Fix kwargs being job_kwargs in add_job 2025-01-26 04:56:21 +01:00
aec8c55299 Add Sentry DSN to .env.example and use computer name as environment 2025-01-26 04:52:52 +01:00
4bd937a570 Add Loguru for enhanced logging and update logging statements for clarity 2025-01-26 04:34:23 +01:00
fb1db7f222 Improve message deletion logic to handle timeout messages and skip invalid webhook token errors 2025-01-26 03:52:36 +01:00
a08b7e7cd7 Integrate Sentry for error tracking and enhance error handling in bot and UI interactions 2025-01-26 03:24:38 +01:00
c968dc62a2 Implement message cleanup on bot close and enhance job management view timeout handling 2025-01-26 01:37:09 +01:00
b87f62ba74 Only list jobs that are in the current guild 2025-01-25 19:24:26 +01:00
90a3b9e72e Add /remind event 2025-01-24 23:16:19 +01:00
07bc11fbff Move settings to a function and add tests 2025-01-22 17:45:29 +01:00
b8152836c8 Refactor job modification logic and improve label handling in ModifyJobModal 2025-01-20 23:28:18 +01:00
07297e5a56 Add /remind backup and /remind restore commands 2025-01-18 23:50:27 +01:00
4b3acc0948 Refactor things 2025-01-16 00:25:19 +01:00
ea079fb9b1 Refactor everything 2025-01-15 00:31:26 +01:00
e379afe108 Add better error handling 2025-01-14 00:22:52 +01:00
f1695848ef Add /remind interval 2025-01-12 23:39:32 +01:00
87e12cd208 Refactor /remind cron 2025-01-12 02:05:59 +01:00
566c0ce891 Add /remind cron command 2025-01-11 19:52:12 +01:00
14bf6d7fbe Move ui stuff to ui.py 2025-01-10 23:00:53 +01:00
1b1deb72d9 Make pause button have the correct label 2025-01-08 21:08:12 +01:00
90b934107b Enhance job logging by adding current job state information and improve error handling in job calculations 2025-01-07 21:58:49 +01:00
3503c24f20 Enhance job deletion logging and response message 2025-01-05 23:34:03 +01:00
c028bd6db7 Improve /remind list modify modal 2025-01-04 20:10:30 +01:00
1d57e2f621 Use Discord's built-in timestamp thingy instead of manually creating a string 2025-01-04 01:11:24 +01:00
649cf1b4a3 Enhance /remind list and add calculate() 2025-01-03 23:09:47 +01:00
8337a20b50 Add WIP for /remind list, and make /remind add work 2025-01-03 21:38:44 +01:00
c8b6dbfe41 Start refactoring bot, add /remind add command 2025-01-03 15:03:47 +01:00
056cdffb7d Send error to webhook when failing to get webhook URL from reminder 2023-05-21 20:18:02 +02:00
c854e7faa0 Fix not being able to remove interval reminders 2023-05-21 20:07:24 +02:00
11d9f2c2a5 Use Ruff and fix all its warnings and errors 2023-03-19 00:54:55 +01:00
f0f1339555 Use @interactions.option instead of option list 2022-12-15 01:40:13 +01:00
581a9d1340 Move parse stuff to own file 2022-12-15 01:25:24 +01:00
dbd0a58f70 Remove description because you can see it 2022-12-15 00:08:12 +01:00
96c8ed8d2e Add DMs to /remind list 2022-12-14 23:57:36 +01:00
e9afe82dee Add support for sending direct messages instead of sending to a channel 2022-12-14 22:47:52 +01:00
17eada7e29 Send errors and missed reminders to webhook
New environment variable that you need to use for this to work.
2022-10-31 01:24:32 +01:00
6e040c243d Autodefer stuff 2022-10-30 20:09:40 +01:00
8f01d1825f Add /parse command 2022-10-30 20:03:47 +01:00
bf767b622a Add a new function for parsing time from a string 2022-10-30 19:24:23 +01:00