Rename displayCurrentScrobble to getCurrentScrobble
This commit is contained in:
parent
b861d943a6
commit
09d9a28b19
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue