?
This commit is contained in:
parent
7613c26752
commit
1b93be6599
2 changed files with 6 additions and 17 deletions
|
@ -55,7 +55,6 @@ class NYX extends Client {
|
||||||
"534027706325532694", // Cat drinking a cat
|
"534027706325532694", // Cat drinking a cat
|
||||||
"381442059111759883", // Thunder
|
"381442059111759883", // Thunder
|
||||||
"556808365574193194", // chunchunmaru
|
"556808365574193194", // chunchunmaru
|
||||||
"746753527338238115", // mightyful
|
|
||||||
];
|
];
|
||||||
this.currency = "<:nyx_currency:918584872333893703>";
|
this.currency = "<:nyx_currency:918584872333893703>";
|
||||||
this.xp = "<:nyx_xp:900309007472926720>";
|
this.xp = "<:nyx_xp:900309007472926720>";
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
const { Client, CommandInteraction, EmbedBuilder } = require("discord.js");
|
const {
|
||||||
|
Client,
|
||||||
|
CommandInteraction,
|
||||||
|
EmbedBuilder,
|
||||||
|
ImageFormat,
|
||||||
|
} = require("discord.js");
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: "avatar",
|
name: "avatar",
|
||||||
description: "Show user's avatar in different formats",
|
description: "Show user's avatar in different formats",
|
||||||
|
@ -27,21 +32,6 @@ module.exports = {
|
||||||
})
|
})
|
||||||
.setColor(client.color)
|
.setColor(client.color)
|
||||||
.setTitle(`${member.user.username}'s Avatar`)
|
.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(
|
.setImage(
|
||||||
member.user.displayAvatarURL({
|
member.user.displayAvatarURL({
|
||||||
size: 2048,
|
size: 2048,
|
||||||
|
|
Loading…
Reference in a new issue