Commit graph

53 commits

Author SHA1 Message Date
dd3d21749e
Remove discriminator from custom commands 2023-06-29 17:09:08 +02:00
80b813ad14
Fix bot crashing when no message is provided
closes #59
2023-06-29 16:57:39 +02:00
fecd6877ea
Rewrite timers.js to use database 2023-06-02 11:15:47 +02:00
3dd47c1294
Add missing break to switch statement 2023-06-01 12:28:11 +02:00
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
8bd28f045a
Remove subtraction on reminderTime 2022-06-12 14:50:13 +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
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
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
826d13eadd
Fix custom command
Convert to string before sending message
2022-01-14 21:33:50 +01:00
8b3387d109
Fix netload whitelist issue 2022-01-14 21:33:37 +01:00
c4d6370ea1
Fix ask command description 2022-01-14 18:35:02 +01:00
32862a825f
Prefix: Remove parsemention require line 2021-08-12 20:44:48 +02:00
1ea4892167
Update to make it work on discord.js v13
* Use intents
* Use messageCreate instead of message
* Update sending embeds for v13
* Fix getNickname for v13
* Fix user presence
* guild.member to guild.members.cache.get
* Fix userinfo (+ some other minor changes)
2021-08-09 20:15:03 +02:00