nyx

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

commit d4c85f5e9e8977324eb3907c6a7a51e5f1bb509e
parent cca8472575cc880c307de9776a733487bf15ffcb
Author: NK <[email protected]>
Date:   Fri,  3 Feb 2023 11:08:53 +0000

Merge branch 'main' of https://github.com/night0721/cath.exe

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}`,