nyx

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

commit 1b93be65994fe1678e1f4cc899f250f810fbc4f2
parent 7613c26752113c50adf129520f437ca413e1b915
Author: NK <[email protected]>
Date:   Thu,  6 Apr 2023 11:43:44 +0100

?

Diffstat:
Mclient/NYX.js | 1-
Mcommand/Information/avatar.js | 22++++++----------------
2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/client/NYX.js b/client/NYX.js @@ -55,7 +55,6 @@ class NYX extends Client { "534027706325532694", // Cat drinking a cat "381442059111759883", // Thunder "556808365574193194", // chunchunmaru - "746753527338238115", // mightyful ]; this.currency = "<:nyx_currency:918584872333893703>"; this.xp = "<:nyx_xp:900309007472926720>"; diff --git a/command/Information/avatar.js b/command/Information/avatar.js @@ -1,4 +1,9 @@ -const { Client, CommandInteraction, EmbedBuilder } = require("discord.js"); +const { + Client, + CommandInteraction, + EmbedBuilder, + ImageFormat, +} = require("discord.js"); module.exports = { name: "avatar", description: "Show user's avatar in different formats", @@ -27,21 +32,6 @@ module.exports = { }) .setColor(client.color) .setTitle(`${member.user.username}'s Avatar`) - .setDescription( - `\`Links:\` **[png](${member.user.displayAvatarURL({ - format: "png", - size: 2048, - })}) | [jpg](${member.user.displayAvatarURL({ - format: "jpg", - size: 2048, - })}) | [webp](${member.user.displayAvatarURL({ - format: "webp", - size: 2048, - })}) | [gif](${member.user.displayAvatarURL({ - format: "gif", - size: 2048, - })})**` - ) .setImage( member.user.displayAvatarURL({ size: 2048,