Improve avatar example

This commit is contained in:
Crawl
2017-05-14 19:30:23 +02:00
committed by GitHub
parent 5db3ab742b
commit 342c644043

View File

@@ -22,7 +22,7 @@ client.on('message', message => {
// If the message is "what is my avatar"
if (message.content === 'what is my avatar') {
// Send the user's avatar URL
message.reply(message.author.avatarURL);
message.reply(message.author.displayAvatarURL);
}
});