Commit Graph

35 Commits

Author SHA1 Message Date
jude
5f703e8538 Add status update time to sender 2023-09-16 17:59:03 +01:00
jude
adf29dca5d Start to think about how to display errors 2023-08-19 22:37:48 +01:00
jude
ea3fe3f543 Ensure postman doesn't try to send reminders with no channel 2023-08-19 21:28:05 +01:00
jude
2ad941c94c Fix not sending followup reminders 2023-07-31 20:07:54 +01:00
jude
ae5795a7ea Update opcode handling 2023-07-31 19:25:06 +01:00
jude
902b7e1b4a Change reminder sending behaviour to keep reminders but flag them as sent 2023-07-31 18:39:27 +01:00
jude
88737302f3 Log reminder send status 2023-07-30 17:00:55 +01:00
jude
90df265114 Add handler for 50001 Missing Access 2023-07-30 14:13:20 +01:00
jude
8d2232f0da Bump ver. Use Discord's error codes where possible to improve logging 2023-07-30 12:44:01 +01:00
jude
a58b9866ea Reduce log level 2023-07-30 12:14:47 +01:00
jude
799298ca34 Add fail cutoff for reminder updating 2023-06-20 15:41:28 +01:00
jude
fa542bb24f Clear up warning from new Rust version 2023-06-20 15:33:25 +01:00
jude
e025d945cf Fix serious issue with adding days. Origin chrono v4.23 2023-06-20 15:30:44 +01:00
jude
bb1c61d0b9 Fallback for reminder days 2023-06-20 14:44:05 +01:00
jude
314c72e132 Changed data import to add alongside rather than removing. 2023-03-24 19:41:34 +00:00
jude
a49a849917 Support daily intervals
Add new database column for interval_days. Update humantime to return days as a separate field.
2022-12-10 15:32:49 +00:00
jude
aa74a7f9a3 Use timezones wherever possible.
Replace uses of NaiveDateTime with DateTime<Utc>. Use timezones in postman to update days correctly. Use chrono::Months to update months rather than using MySQL query.
2022-11-22 20:41:07 +00:00
jude
6e087bd2dd Fix character counting on /look. Initial support for jumping over DST boundaries 2022-11-20 12:20:10 +00:00
Jude Southworth
6708abdb0f
Merge pull request #10 from reminder-bot/jellywx/fix-dm-reminders
group by channel instead of guild
2022-09-03 15:44:00 +01:00
jude
7d8748e3ef group by channel instead of guild 2022-08-19 09:04:12 +01:00
jude
bb3386c4e8 migration for $r commands 2022-08-14 16:22:00 +01:00
jude
25b84880a5 Don't send non-interval disabled reminders
Skip the sending logic as some users use disabled one-time reminders as presets
2022-08-04 19:06:29 +01:00
jude
7b6e967a5d Block/allow DM reminders
Only affects slash commands but this is sort of a non-issue post September
2022-07-29 19:22:15 +01:00
jude
2781f2923e Restrict reminder selection to one-per-guild during fetch loop 2022-07-28 19:20:15 +01:00
jude
03f08f0a18 Update deps. Drop limiter on reminder query 2022-07-27 21:42:09 +01:00
jude
e19af54caf Import todo lists. Export other data. 2022-07-22 23:30:45 +01:00
jude
bfc2d71ca0 patreon 2022-05-14 12:02:46 +01:00
jude
8eb46f1f23 delete reminders when the user cannot be direct messaged 2022-05-14 10:56:03 +01:00
jude
c4087bf569 pos mysql 2022-05-14 08:12:50 +01:00
jude
7d43aa5918 cleared up all unwraps from the reminder sender. cleared up clippy lints. added undo button 2022-05-13 23:08:52 +01:00
ded750aa2d update dependencies 2022-04-19 15:23:27 +01:00
jude
85d27c5bba fields are now json and work. fix for intervals. moved some code together 2022-04-07 17:13:02 +01:00
jude
878ea11502 graceful shutdown 2022-03-21 23:11:52 +00:00
jude
06c4deeaa9 component models 2022-02-19 22:11:21 +00:00
jude
a3844dde9e moved postman into separate crate 2022-02-06 15:47:59 +00:00