Commit Graph

63 Commits

Author SHA1 Message Date
bf767b622a Add a new function for parsing time from a string 2022-10-30 19:24:23 +01:00
72890a8f31 Remove unused __version__ 2022-10-30 14:55:08 +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
84b6acbea9 Stop adding pages when we have 25 2022-10-26 01:57:33 +02:00
f44f0a31c3 Remove self.end_paginator and #type: ignore comments 2022-10-26 01:50:33 +02:00
8329bd3555 Make title and message shorter 2022-10-25 23:23:15 +02:00
ca09c2b4c9 Remove placeholders and make title truncated instead of the embed field 2022-09-30 03:16:39 +02:00
d6c94dc2de 97 is the new 100 2022-09-30 02:03:41 +02:00
9497de7d80 Truncate message to 100 characters when using /remind list 2022-09-30 01:33:27 +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
3f8be91e09 Fix docstring and use "Couldn't" instead of "Failed" 2022-08-14 13:47:12 +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
28da36d920 Bump version to v0.3.0 2022-02-19 01:50:57 +01:00
88e981e917 Use the Black profile for isort 2022-02-10 15:42:03 +01:00
deeb7c206d Move .env.example from discord_reminder_bot to root and add link to time zones 2022-01-31 21:01:46 +01:00
509a2c4797 Add changelog and bump version to v0.2.0 2022-01-09 21:13:50 +01:00
08ee4bd6a3 Add more examples to .env.example 2022-01-05 02:02:18 +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