Commit graph

144 commits

Author SHA1 Message Date
5ec779b7a9
Remove netmodule functionality 2024-11-01 19:40:32 +01:00
f54ac8e1de
Use own parse-ms implementation
All checks were successful
CI / CI (push) Successful in 16s
2024-10-28 01:52:38 +01:00
906c0d86c0
Replace thirdparty parse-ms with my own, and add tests
All checks were successful
CI / CI (push) Successful in 16s
2024-10-28 01:44:53 +01:00
e31eb3f3e4
Remove unused url variable
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
discord bot tests / discord bot tests (push) Successful in 11s
2024-10-24 02:19:29 +02:00
e04d8857f9
Fix uninitialized variable 2024-10-22 07:49:42 +02:00
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
b724a51868
Only use lower case in directory names 2024-10-15 09:54:41 +02:00
1b575dde81
Fix plural if playcount is one 2024-10-07 14:20:33 +02:00
582d9234ab
Fix plural bug in setPresence 2024-09-24 05:34:59 +02:00
f8268256e3
Add a compatibility mode for getTopTracks 2024-09-12 11:45:57 +02:00
6172814a2e
Fix shorthands for toptracks
I previously used chatgpt to generate shorthands for times, but I didn't
read them so it generated stuff like daily. Now there are only lengths
that exist in the lastfm api
2024-09-11 15:03:57 +02:00
76ab15b79f
Add more options and fix small grammar mistake 2024-09-10 22:17:25 +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
56e8f4765d
Fix crash if timer doesn't exist 2024-04-10 13:53:21 +02:00
6e8faadd97
Specify if the timer doesn't belong to author 2024-04-10 13:47:50 +02:00
13e611c860
Fix fm default command
programming mistake
2024-04-10 07:22:46 +02:00
357f93623a
Temp commit 2024-04-09 15:52:42 +02:00
ead50bcf43
Attempt fix v10000 2024-04-09 11:24:57 +02:00
18182c0059
Show previous scrobble too 2024-04-09 09:33:54 +02:00
ecd26427a2
Add fmcover command 2024-04-08 13:33:25 +02:00
b63cdcba99
Revert "Add link to lastfm profile"
This reverts commit 683bc41284.
2024-04-08 13:29:40 +02:00
683bc41284
Add link to lastfm profile 2024-04-08 12:59:23 +02:00
3bc37cc1b7
fix v2 2024-04-08 12:56:15 +02:00
5ce61c820b
Actual fix to the problem 2024-04-08 12:54:40 +02:00
528308c858
Fix user not found error message 2024-04-08 12:52:14 +02:00
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
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
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
02b60c31b4
Remove some logging 2024-03-07 11:48:45 +01:00
51e810264c
FM: Add a toptracks feature 2024-03-07 11:27:32 +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
2c8be96c1b
Attempt to fix weather command crashing when website is down 2023-12-07 12:23:26 +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
563c43724b
Add log for when there is a non 404 or 200 code 2023-12-04 18:02:06 +01:00
d8649ff943
Fix crash on weather command with invalid location 2023-12-04 15:47: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
bb1e668e10
Fix no message on timer delete
Fixes #66
2023-07-26 23:47:32 +02:00