Add more options and fix small grammar mistake
This commit is contained in:
parent
bdd4f73b68
commit
76ab15b79f
1 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ module.exports = async function (userID, option, guild) {
|
||||||
"q": "3month",
|
"q": "3month",
|
||||||
"h": "6month",
|
"h": "6month",
|
||||||
"y": "12month",
|
"y": "12month",
|
||||||
|
"a": "overall",
|
||||||
|
"at": "overall",
|
||||||
"all": "overall",
|
"all": "overall",
|
||||||
"daily": "1day",
|
"daily": "1day",
|
||||||
"weekly": "7day",
|
"weekly": "7day",
|
||||||
|
@ -89,7 +91,7 @@ module.exports = async function (userID, option, guild) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
const embed = new Discord.MessageEmbed()
|
const embed = new Discord.MessageEmbed()
|
||||||
.setAuthor(`Top ${duration} for ${nickname}`, user.user.avatarURL({ dynamic: true, size: 4096 }))
|
.setAuthor(`Top ${duration} tracks for ${nickname}`, user.user.avatarURL({ dynamic: true, size: 4096 }))
|
||||||
.setThumbnail(tracks[0].cover)
|
.setThumbnail(tracks[0].cover)
|
||||||
.setColor(15780145)
|
.setColor(15780145)
|
||||||
let tracksInfo = "";
|
let tracksInfo = "";
|
||||||
|
|
Loading…
Add table
Reference in a new issue