commit 174c960577236c460343a30bd53b0fd2720705e7
parent 85078f6f5033e4e859dc4dd7493126d1e1ee7783
Author: hcs1219 <[email protected]>
Date: Thu, 2 Feb 2023 02:50:35 +0800
Update avatar.js
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/command/Information/avatar.js b/command/Information/avatar.js
@@ -2,7 +2,6 @@ const { EmbedBuilder } = require("discord.js");
module.exports = {
name: "avatar",
description: "Show user's avatar in different formats",
-
usage: "{User}",
category: "Information",
options: [
@@ -39,7 +38,7 @@ module.exports = {
})})**`
)
.setImage(
- member.user.avatarURL({ size: 2048, dynamic: true, format: "png" })
+ member.user.displayAvatarURL({ size: 2048, dynamic: true, format: "png" })
)
.setFooter({
text: `Made by ${client.author}`,