Commit graph

99 commits

Author SHA1 Message Date
062e6d43dc
Update discord.js dependency to version 14 (#116)
* Update discord.js in package.json to v14.16.3 & update package-lock.json

* Update all embeds to work with v14

* Do not show discriminator if it is 0
2024-10-22 07:36:10 +02:00
0e0cad6734
Convert: Add inches to switch case
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
2024-10-20 15:17:51 +02:00
d6fd115646
Improve moreHelp on convert command to include all supported units 2024-10-20 15:13:37 +02:00
4e42957c93
Add conversion from inches to cm and vice versa 2024-10-20 15:12:57 +02:00
47ba5bd126
Use 1.8 instead of 9 / 5 in conversion 2024-10-17 19:17:41 +02:00
296b36d8ee
Add support for converting to/from Kelvin 2024-10-15 12:18:47 +02:00
2b4a8029d1
Put space between temperature and unit 2024-10-15 11:48:40 +02:00
af058d876a
Add support for weight conversion
KG => LB
LB => KG
2024-10-15 10:04:19 +02:00
f16ac8010b
Remove decimals if not needed 2024-10-04 04:33:52 +02:00
b81d675e4c
Improve temperature conversion logic
- Use single variable for initial temperature
- Allow command to accept "to" keyword
2024-10-04 04:31:46 +02:00
eee9539ac2
Fix wrong calculation for converting celsius to fahrenheit 2024-10-04 03:56:31 +02:00
6ee51970fc
Fix wrong temperature label 2024-10-04 03:53:56 +02:00
a59e2381fb
Add convert command
Only fahrenheit to celsius and vice versa so far
2024-09-27 22:34:47 +02:00
5af2f003d0
Fix cannot send an empty message on ask command 2024-09-18 09:24:09 +02:00
146e22d281
Fix ask command not splitting all 'or's correctly 2024-09-18 09:20:35 +02:00
bdd4f73b68
Fix toptracks subcommand
and add a few options for time
2024-09-10 21:59:44 +02:00
5f6949bc2e
Temporarily disable the fmtt command 2024-07-12 02:33:11 +02:00
22d688ee80
add morehelp 2024-04-09 15:51:15 +02:00
ecd26427a2
Add fmcover command 2024-04-08 13:33:25 +02:00
90e16e2b3c
Add prefix to the message reminding how to set username 2024-04-08 12:46:42 +02:00
a8575f6f25
Add parsemention require... 2024-04-08 12:34:15 +02:00
06361bc137
Fix role color properly 2024-04-08 12:33:01 +02:00
dec973852c
Use the role color as the embed color 2024-04-08 12:26:54 +02:00
7bd728a16e
Improve default fm command, plus improve help 2024-04-08 11:49:00 +02:00
7de04136e2
Add invalid subcommand error 2024-03-25 00:45:06 +01:00
3c7d0a6c28
fm: Add the possibility to specify period 2024-03-07 12:35:58 +01:00
e5862a323b
FM: Replace all <prefix> with prefix 2024-03-07 11:58:01 +01:00
653f9d0339
FM: Update moreHelp with up to date information 2024-03-07 11:54:27 +01:00
efcf081e80
Replace <prefix> with prefix in fmhelp 2024-03-07 11:47:57 +01:00
0871b659a1
Fix fmhelp command crashing the bot
Was trying to send an array. Didn't think...
2024-03-07 11:43:25 +01:00
51e810264c
FM: Add a toptracks feature 2024-03-07 11:27:32 +01:00
09d9a28b19
Rename displayCurrentScrobble to getCurrentScrobble 2024-03-04 15:05:12 +01:00
b861d943a6
fm command defaults to displaying the current scrobble 2024-03-04 12:47:13 +01:00
8c02dc5517
Add fm set username command
Beginning of the command. Can't do anything other than setting and
updating your lastfm username.
2024-03-04 12:10:02 +01:00
6ca291136f
Add a tip to mention the bot if the new prefix doesn't work 2024-03-03 15:07:27 +01:00
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