Rewrite timer command to use JSON

* Rewrite parseTime to use seconds instead of ms
	*  Move parseTime to timer subdirectory

* Implement checkTimer and sendTimerReminder.
This commit is contained in:
SileNce5k 2022-06-08 16:29:13 +02:00
parent a4b75b0161
commit 04f39582a4
No known key found for this signature in database
GPG key ID: C507260E7F2583AD
7 changed files with 55 additions and 14 deletions

View file

@ -20,6 +20,7 @@ client.settings = new Discord.Collection();
client.commands = new Discord.Collection();
client.serverPrefixes = new Discord.Collection();
client.netmodules = new Discord.Collection();
client.timers = require('./data/timers.json')
client.settings.set("presenceType", presenceType);
client.settings.set("presenceText", presenceText);