mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Improve avatar example
This commit is contained in:
parent
5db3ab742b
commit
342c644043
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue