mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
Improve avatar example
This commit is contained in:
@@ -22,7 +22,7 @@ client.on('message', message => {
|
|||||||
// If the message is "what is my avatar"
|
// If the message is "what is my avatar"
|
||||||
if (message.content === 'what is my avatar') {
|
if (message.content === 'what is my avatar') {
|
||||||
// Send the user's avatar URL
|
// Send the user's avatar URL
|
||||||
message.reply(message.author.avatarURL);
|
message.reply(message.author.displayAvatarURL);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user