fix a bunch of stuff that is bad practice

This commit is contained in:
Emily 2022-12-24 22:55:08 +11:00
parent fa0be297ba
commit 9e77c291cb
8 changed files with 14 additions and 14 deletions

View file

@ -47,7 +47,7 @@ module.exports = class Avatar extends Command {
.setColor(client.functions.embedColor(guild))
.setTitle(guild.name)
.setThumbnail(guild.iconURL({extension: 'png', 'size': 4096}))
.addFields([
.addFields(
{
name: 'ID', value: guild.id, inline: true
},
@ -84,7 +84,7 @@ module.exports = class Avatar extends Command {
{
name: 'Features', value: guild.features.join(', ')
}
]);
);
interaction.reply({ embeds: [embed] });
}
};