Rename displayCurrentScrobble to getCurrentScrobble

This commit is contained in:
SileNce5k 2024-03-04 15:05:12 +01:00
parent b861d943a6
commit 09d9a28b19
No known key found for this signature in database
GPG key ID: 961132EB78C8915F
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
const fmlogin = require("../../util/lastfm/fmlogin");
const displayCurrentScrobble = require("../../util/lastfm/displayCurrentScrobble");
const getCurrentScrobble = require("../../util/lastfm/getCurrentScrobble");
module.exports = {
name: 'fm',
@ -18,7 +18,7 @@ module.exports = {
break;
}
if(args.length < 1){
sendText = await displayCurrentScrobble(message.author.id);
sendText = await getCurrentScrobble(message.author.id);
}
message.channel.send(sendText);
}