Commit graph

486 commits

Author SHA1 Message Date
444af32def
Check if user is not found 2024-04-08 12:50:41 +02:00
90e16e2b3c
Add prefix to the message reminding how to set username 2024-04-08 12:46:42 +02:00
8b012829c1
Blame last.fm if there is an error 2024-04-08 12:40:23 +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
60580483ec
Fix duration not changing in fmtt 2024-04-08 12:09:56 +02:00
7bd728a16e
Improve default fm command, plus improve help 2024-04-08 11:49:00 +02:00
dependabot[bot]
12ba68e9d6
Bump ip from 2.0.0 to 2.0.1 (#88)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 07:44:58 +01:00
7de04136e2
Add invalid subcommand error 2024-03-25 00:45:06 +01:00
39ca3ee322
Fix mention not working as prefix 2024-03-24 21:00:00 +01:00
e56d8e768c
Add pages to help command 2024-03-22 11:00:52 +01:00
b9eeeef97b
Add total amount of commands to botinfo 2024-03-22 09:43:07 +01:00
27ec24b7d4
fm: Show which last.fm username the top tracks are from 2024-03-07 12:57:08 +01:00
4a67153fb9
fmtt: Set weekly as the default time period 2024-03-07 12:43:34 +01:00
3ed4714457
fmtt: fix time period not working 2024-03-07 12:40:56 +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
02b60c31b4
Remove some logging 2024-03-07 11:48:45 +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
5b202ae9d3
Add better syntax for the fm command 2024-03-07 11:03:01 +01:00
b539f41d51
Move checks before other things
No need to do other things before this check.
2024-03-07 10:53:52 +01:00
53358531e5
Split getFmUsername into own function
This also fixes the bug that happens when a user tries the default fm
command and it crashes the bot.
2024-03-07 10:48:11 +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
bdc08b3153
Improve the timer reminder message 2024-03-03 19:12:41 +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
482fc2a1e7
Add mentioning the bot as a valid prefix 2024-03-03 15:04:35 +01:00
2c8be96c1b
Attempt to fix weather command crashing when website is down 2023-12-07 12:23:26 +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
3927b7905b
Use timeout in getWeather 2023-12-06 17:40:56 +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
563c43724b
Add log for when there is a non 404 or 200 code 2023-12-04 18:02:06 +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
0853f97e99
Use underscores for parseTime numbers 2023-11-19 15:46:55 +01:00
a06221d275
Add error message if send command fails 2023-08-09 09:20:36 +02:00
845f415e5a
Remove devbot branch from njsscan 2023-07-26 23:53:34 +02:00
bb1e668e10
Fix no message on timer delete
Fixes #66
2023-07-26 23:47:32 +02:00
5970699061
Remove logging 2023-07-17 20:22:06 +02:00