From 60cd96e366487b9a422ecc685b46a2b300c32be1 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 31 Jul 2021 16:38:15 -0400 Subject: Cleanup; Upgraded to Discord.JS v13; More buttons --- commands/suggestfeature.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'commands/suggestfeature.js') diff --git a/commands/suggestfeature.js b/commands/suggestfeature.js index 28fc01a..c7623d2 100644 --- a/commands/suggestfeature.js +++ b/commands/suggestfeature.js @@ -20,14 +20,15 @@ module.exports.run = async (client, message, args) => { const { MessageEmbed } = require('discord.js'); - client.channels.cache.get('427495678390960148').send( + client.channels.cache.get('427495678390960148').send({ embeds: [ new MessageEmbed() - .setColor ('#1fd619') + .setColor('#1fd619') .setTitle('AleeBot Feature Suggestion') - .setDescription('This is an AleeBot feature suggestion from '+ message.author.username +` sending from ${message.guild.name}.`) + .setDescription(`This is an AleeBot feature suggested from ${message.author.username}.`) .addField('Suggestion Contents', args.join(' ')) + .setFooter(`Sending from ${message.guild.name}`, message.guild.iconURL())]} ); - await message.reply('Your suggestion has been shown to the ALP discord server!'); + await message.reply('Your suggestion has been shown to the Binaryworks discord server!'); }; -- cgit v1.2.3