Commit graph

25 commits

Author SHA1 Message Date
d41b28ec91
Use an sqlite3 database for timer feature
There were some other small edits as well, mostly formatting or better
logging in certain functions
2023-06-01 12:01:03 +02:00
354d4cd098 Add timer show command
This command shows information about the timer with the ID you have as
an argument.
2023-05-09 10:09:10 +02:00
5317d59e9a
Add the ability to delete timers 2023-04-29 17:26:10 +02:00
2313c59a3a
Rewrite timer & Separate createTimer into own file 2023-04-28 23:02:32 +02:00
8df6244363
Add an identifier to each timer
Closes #24
2023-04-16 19:05:46 +02:00
2015344caf
Fix formatting on initial timer reply
Fixes #27
2023-04-16 13:57:29 +02:00
88d5237680 Add option to use timestamp on timer command 2022-09-05 18:06:33 +02:00
6f7ec05dd0
Send date/time to when the timer is up 2022-09-04 12:42:39 +02:00
8bd28f045a
Remove subtraction on reminderTime 2022-06-12 14:50:13 +02:00
64409c890a
Change order of morehelp in timer command 2022-06-10 23:32:47 +02:00
76da183b67
Add days as option in timer command
+ Remove useless comments
2022-06-10 20:19:51 +02:00
664598681f
Round formatted number 2022-06-09 23:26:34 +02:00
1fe63da38e
Subtract 10 on reminder pre-message 2022-06-09 19:31:30 +02:00
065acf5ec3
Fix wrong path 2022-06-09 19:17:52 +02:00
011f203815
Fix time is not defined error 2022-06-09 19:14:49 +02:00
8a69212515
Write to timers.json after adding new timer 2022-06-09 19:06:48 +02:00
04f39582a4
Rewrite timer command to use JSON
* Rewrite parseTime to use seconds instead of ms
	*  Move parseTime to timer subdirectory

* Implement checkTimer and sendTimerReminder.
2022-06-09 18:44:30 +02:00
891edff394
Improve moreHelp on timer command 2022-05-17 15:30:17 +02:00
e676730f0c
Add time parser for timer command
* Fix grammar
* Fix countdown off by 4 seconds
2022-05-17 15:24:55 +02:00
5f4a0056d7
Fix thing when first arg is NaN 2022-05-15 01:27:40 +02:00
f3e3fd9dbc
Use discord formatting on acknowledgment of timer 2022-05-15 01:18:43 +02:00
412b39797b
Improve description and moreHelp on timer command 2022-05-15 01:13:31 +02:00
d992598dc9
No need to have function name thing 2022-05-15 00:48:27 +02:00
0076de762c
Minutes instead of seconds 2022-05-15 00:43:30 +02:00
517f13291f
Add timer command 2022-05-15 00:41:21 +02:00