Commit graph

359 commits

Author SHA1 Message Date
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
6f7ec05dd0
Send date/time to when the timer is up 2022-09-04 12:42:39 +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
4d87294196
Catch setactivity so bot doesn't crash 2022-06-29 16:23:57 +02:00
d0af91dda4
Add response for if you don't have any timers 2022-06-17 17:43:25 +02:00
d115ba214b
Fix netload example failing 2022-06-12 18:57:48 +02:00
2e8ce2a142
Reset to origin/master instead of master 2022-06-12 14:52:57 +02:00
8bd28f045a
Remove subtraction on reminderTime 2022-06-12 14:50:13 +02:00
a34f08a1a2
Fix gitreset 2022-06-12 12:01:41 +02:00
5feaa89583
Return NaN in default case 2022-06-11 21:34:07 +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
513f62a1cf
Parse to float instead of parse to int 2022-06-09 23:21:55 +02:00
7bcb76cffb
Fix formatting error on timers cmd 2022-06-09 23:07:22 +02:00
fd9237cf47
Add proper formatting on timers 2022-06-09 23:04:03 +02:00
a681b6e102
Forgot to change name of command 2022-06-09 23:02:33 +02:00
390273321b
Add timers command to check your own timers 2022-06-09 23:01:37 +02:00
1fe63da38e
Subtract 10 on reminder pre-message 2022-06-09 19:31:30 +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
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
0c0e4d40c3
Move require line to inside the function 2022-06-09 19:09:26 +02:00
8a69212515
Write to timers.json after adding new timer 2022-06-09 19:06:48 +02:00
879c27b799
Create timers.json if it doesn't exist 2022-06-09 19:06:21 +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
a4b75b0161
Remove parseTime 2022-06-08 16:22:13 +02:00
92787eb2d1
Fix plural bug + change ternaries to ifs 2022-06-03 15:49:27 +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
77a8b23427
Add .vscode/ dir to .gitignore 2022-05-15 00:41:41 +02:00
517f13291f
Add timer command 2022-05-15 00:41:21 +02:00
be673a9fad
Fix formatting 2022-05-04 06:05:23 +02:00
1eeb0976f9
Send guild pfp if it exists 2022-05-03 08:11:24 +02:00
d26106344f
Update discord.js to 13.6.0 2022-05-03 08:04:06 +02:00
5deecaa788
Add gitreset command for resetting to master
Useful for my testing bot
Usually I'd have to go log onto my server to reset, but now I can just
use this command like a lazy person instead :)
2022-04-29 14:55:04 +02:00
52e832101f
Edit variable names to make more sense 2022-04-29 14:17:27 +02:00
3bda5ef4e3
Fix setting prefix not working
Guess I forgot to port this shit over to discord.js v13.
2022-04-29 06:06:00 +02:00
8093998cda
Change uptime to show hours if it exceeds an hour 2022-04-28 05:00:34 +02:00
118e27ea5c
Revert "Update README.md"
This reverts commit 8f785135d3.
2022-04-27 11:52:22 +02:00
52a15e2c19
Add uptime as a presence text choice for the bot
idk what the fuck I'm doing anymore so I'm just adding random useless
shit that no one neeeds. I'm the only fucker using this shitty bot and
I'm probably not even gonna be using this shitty feature myself...
2022-04-27 11:46:40 +02:00
3377ecd9a7
Install mysql, and do npm audit fix shit 2022-04-27 09:34:10 +02:00
0328f06dff
Small syntax fixes to make code look cleaner
idk fucking okay
2022-04-24 02:24:17 +02:00