fm command defaults to displaying the current scrobble
This commit is contained in:
parent
8c02dc5517
commit
b861d943a6
4 changed files with 70 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
const fmlogin = require("../../util/lastfm/fmlogin");
|
||||
const displayCurrentScrobble = require("../../util/lastfm/displayCurrentScrobble");
|
||||
|
||||
module.exports = {
|
||||
name: 'fm',
|
||||
|
@ -16,6 +17,9 @@ module.exports = {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if(args.length < 1){
|
||||
sendText = await displayCurrentScrobble(message.author.id);
|
||||
}
|
||||
message.channel.send(sendText);
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue