Commit graph

6 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
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
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