Commit Graph

60 Commits

Author SHA1 Message Date
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
e053578392 Update main.py 2022-10-30 14:54:56 +01:00
7d9b8e25d4 Format code 2022-10-29 15:54:27 +02:00
ca09c2b4c9 Remove placeholders and make title truncated instead of the embed field 2022-09-30 03:16:39 +02:00
4f0bc96d2d Don't log bot_token when starting the bot 2022-09-27 02:49:40 +02:00
5e7c4af020 "Fix" /reminder list where there is only one reminder 2022-09-18 02:25:36 +02:00
8e6aedc1e2 Make error messages ephemeral 2022-09-18 02:09:58 +02:00
95a8acf19a Say what the problem is when error 2022-09-18 01:47:31 +02:00
d67960f7df Fix /remind list 2022-09-18 00:40:48 +02:00
68cd8d964a Fix time zone in both commands and format code with Black 2022-09-17 22:28:45 +02:00
21be6c00b3 Use modern Discord Ui stuff, fix time zones and, fix Dockerfile
Changes:
Use buttons, pagination and modals instead of old text-based stuff
Fix time zones (Closes #23)
Fix Dockerfile
Replace Discord.py with discord-py-interactions
Default time zone is now UTC instead of Europe/Stockholm

Replace
  /remind resume
  /remind pause
  /remind remove
  /remind modify
with
  /remind list
2022-09-17 22:23:43 +02:00
d5bcf0169b Fix: Use TIMEZONE instead && Update Dockerfile 2022-09-13 20:00:26 +09:00
de6b27ce5d Fix docstrings 2022-08-14 14:14:24 +02:00
5571fa18a8 Readd command_prefix 2022-08-14 13:53:24 +02:00
35e47115b8 Move calc_counddown() to own file 2022-08-14 13:43:29 +02:00
cd29a23936 Update formatting 2022-08-14 13:37:49 +02:00
9eeab86917 Reduce the amount of lines 2022-07-21 20:38:21 +02:00
092a608d95 Remove types from docstrings 2022-07-21 20:28:39 +02:00
0376ae0214 Change line-length to 120 2022-07-21 20:22:27 +02:00
dc73b10fad Add TODOs 2022-03-19 04:39:07 +01:00
fae53f15ff "Fix" remind list when you have more than 25 reminders 2022-03-19 04:39:07 +01:00
e6fedbb7e7 Make lines less wide, add TODOs, modify comments 2022-03-19 04:39:07 +01:00
405dcbc907 Add variable for exit message 2022-03-19 04:39:07 +01:00
0f3f1ab4f5 Remove unnecessary else 2022-03-19 04:39:07 +01:00
0112dc65c1 Add and remove comments 2022-03-19 04:39:07 +01:00
332579ddda Change variable name so you see that it is not needed 2022-03-19 04:39:07 +01:00
a3f187514f Field value will never be over 1024 characters so no need to truncate 2022-03-18 01:44:10 +01:00
bff5a899fe Update comments 2022-03-18 01:43:36 +01:00
96f1451a85 Remove broken TimeoutError 2022-03-18 01:34:38 +01:00
65cef88c9e Change variable name 2022-03-18 01:34:04 +01:00
76cf3b52e9 Uncomplicate if else 2022-03-18 01:33:48 +01:00
625f1d4f1a Change comments 2022-03-18 01:33:12 +01:00
c876c47b9e Remove and shorten comments 2022-03-18 01:10:12 +01:00
9a2dc15433 Make comments two lines if comment is longer than 80 characters 2022-03-10 16:42:29 +01:00
92bf5fd504 Run formatter 2022-03-10 16:39:25 +01:00
88e981e917 Use the Black profile for isort 2022-02-10 15:42:03 +01:00
2ec201acc2 You can now have the bot send messages to another channel 2022-01-05 02:01:45 +01:00
72c454dfe5 Make if else one line 2022-01-03 19:00:31 +01:00
16be68ed3c Remove the from markdown link 2022-01-03 15:14:27 +01:00
1b6a212d72 Remove TODO for something that will never happen 2022-01-03 14:49:12 +01:00