nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit 40f0f3783bfda5d5b85ceb0fec0fcda3dfb77acc
parent 85078f6f5033e4e859dc4dd7493126d1e1ee7783
Author: Night Kaly <[email protected]>
Date:   Wed,  1 Feb 2023 19:41:29 +0000

Merge pull request #90 from hcs1219/patch-1


Diffstat:
Mcommand/Information/avatar.js | 3+--
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}`,