This commit is contained in:
NK 2023-04-06 11:43:44 +01:00
parent 7613c26752
commit 1b93be6599
2 changed files with 6 additions and 17 deletions

View file

@ -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>";

View file

@ -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,