Update avatar.js

This commit is contained in:
hcs1219 2023-02-02 02:50:35 +08:00 committed by GitHub
parent 85078f6f50
commit 174c960577
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@ const { EmbedBuilder } = require("discord.js");
module.exports = { module.exports = {
name: "avatar", name: "avatar",
description: "Show user's avatar in different formats", description: "Show user's avatar in different formats",
usage: "{User}", usage: "{User}",
category: "Information", category: "Information",
options: [ options: [
@ -39,7 +38,7 @@ module.exports = {
})})**` })})**`
) )
.setImage( .setImage(
member.user.avatarURL({ size: 2048, dynamic: true, format: "png" }) member.user.displayAvatarURL({ size: 2048, dynamic: true, format: "png" })
) )
.setFooter({ .setFooter({
text: `Made by ${client.author}`, text: `Made by ${client.author}`,