This commit is contained in:
Emily 2022-12-13 19:08:29 +11:00
parent b561580c68
commit df8e98a796

View file

@ -1,7 +1,6 @@
const Command = require('../../base/Command.js'); const Command = require('../../base/Command.js');
const { version } = require('discord.js'); const { version } = require('discord.js');
const moment = require('moment'); const moment = require('moment');
const { EmbedBuilder } = require('@discordjs/builders');
require('moment-duration-format'); require('moment-duration-format');
@ -23,9 +22,8 @@ module.exports = class About extends Command {
build = 'development'; build = 'development';
} }
embed = new EmbedBuilder() const embed = new client.EmbedBuilder()
.setColor(client.functions.embedColor(interaction.guild) .setThumbnail(client.user.avatarURL({format: "png"}))
.setThumbnail(client.user.vatarURL({format: "png"}))
.setTitle('About me!') .setTitle('About me!')
.addFields([ .addFields([
{ {
@ -42,8 +40,8 @@ module.exports = class About extends Command {
name: 'Links', name: 'Links',
value: '[Support](https://discord.gg/HCF8mdv) | [Git](https://gitdab.com/embee/woomy)' value: '[Support](https://discord.gg/HCF8mdv) | [Git](https://gitdab.com/embee/woomy)'
} }
]) ]);
interaction.reply({embeds: embed}) interaction.reply({embeds: embed});
} }