const Command = require('../../framework/Command'); const { EmbedBuilder, PermissionFlagsBits } = require('discord.js'); module.exports = class EmbedCommand extends Command { constructor(client) { super(client, { name: 'embed', group: 'edit-text', description: 'Sends text in an embed.', clientPermissions: [PermissionFlagsBits.EmbedLinks], args: [ { key: 'text', type: 'string' } ] }); } run(msg, { text }) { return msg.embed(new EmbedBuilder().setDescription(text)); } };