Commit graph

281 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
a098ab6616
Show timer message on timers command 2023-05-20 23:33:09 +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
7aa1f43f29
Timers command shows timer ID 2023-04-29 17:20:40 +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
501a78b7c9
Remove comment 2023-04-16 18:23:44 +02:00
998955ed79
Fix netload not working if there is no whitelist
Closes #20
2023-04-16 15:31:02 +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
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
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
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
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
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
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
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
0328f06dff
Small syntax fixes to make code look cleaner
idk fucking okay
2022-04-24 02:24:17 +02:00
2d8ca95ecb
Fix message empty crashing bot 2022-04-12 21:47:46 +02:00
e359603352
Now you can have as many "or"s as you want 2022-04-12 21:40:19 +02:00
0181007ad5
If args contain "or" return either side randomly 2022-04-12 21:07:37 +02:00
4e41a035ed
Move custom command files into own directory 2022-04-05 16:39:29 +02:00
e6bf4045ed
Add rename custom command feature 2022-04-04 17:13:31 +02:00
baf41301ae
Remove unnecessary if statement 2022-03-27 23:20:36 +02:00
500c9ace42
Fix error when no command found 2022-03-27 22:30:04 +02:00
97830d8444
Rename banner command to serverbanner 2022-03-26 21:08:14 +01:00