Update avatar example for v12.0 (#1610)

User.displayAvatarURL was changed from a property to a method so I changed the example accordingly
This commit is contained in:
Mstrodl
2017-06-24 18:12:22 -04:00
committed by Amish Shah
parent e671a010cb
commit 1fadd0f859

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.displayAvatarURL);
message.reply(message.author.displayAvatarURL());
}
});