5c80c5cd05
Move right parenthesis to the correct place
2023-12-07 12:22:15 +01:00
f5714cb90d
Fix weather command properly.......
2023-12-06 17:49:34 +01:00
c4f526d37f
Fix weather command crashing when website is down
2023-12-06 17:26:03 +01:00
95702b6ea9
Say: Do not remove the original command
2023-12-06 13:36:43 +01:00
a82b62340e
Fix say command failing when permissions are missing
...
Bot tries to delete the say message of the author, but if the bot does
not have permissions to delete messages, it will crash the bot.
2023-12-06 13:28:46 +01:00
dcbf3617a3
Have the fahrenheit temperature in parenthesis
2023-12-05 11:02:57 +01:00
ecc162549e
Use replace instead of splitting for fahrenheit
...
Didn't know replace was a thing, so I did it in a kinda of shitty way
before. Shouldn't be much difference except for the code being more
understandable.
2023-12-04 16:01:57 +01:00
d8649ff943
Fix crash on weather command with invalid location
2023-12-04 15:47:07 +01:00
d1903c27e7
Fix comma in weather output
2023-12-03 21:19:07 +01:00
b0188483ac
Add weather command
2023-12-03 21:12:21 +01:00
5970699061
Remove logging
2023-07-17 20:22:06 +02:00
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