Commit graph

15 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
b7205da1dd
Add ability to use weeks in timer command
Closes #33
2023-04-16 14:04:31 +02:00
96f94713d7 Temp commit
working on #28
2022-09-13 14:22:58 +02:00
88d5237680 Add option to use timestamp on timer command 2022-09-05 18:06:33 +02:00
4ab84dd6d4
Fix timer being sent multiple times
I used array.pop instead of array.splice for some reason. I thought it
would work, but I guess I didn't read MDN thoroughly enough when I
first implemented this function.
2022-07-01 00:32:55 +02:00
5feaa89583
Return NaN in default case 2022-06-11 21:34:07 +02:00
76da183b67
Add days as option in timer command
+ Remove useless comments
2022-06-10 20:19:51 +02:00
513f62a1cf
Parse to float instead of parse to int 2022-06-09 23:21:55 +02:00
5bb6acc9e4
Write to timers.json after reminder has passed 2022-06-09 19:25:58 +02:00
6bbc8efcdd
Fix comparison 2022-06-09 19:23:45 +02:00
0c0e4d40c3
Move require line to inside the function 2022-06-09 19:09:26 +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