aboutsummaryrefslogtreecommitdiff
path: root/commands/suggestfeature.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-07-31 16:38:15 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-07-31 16:38:15 -0400
commit60cd96e366487b9a422ecc685b46a2b300c32be1 (patch)
tree6e71adf12473ca438f10d7716a27a3f0ffc44c3d /commands/suggestfeature.js
parent3aa27777a7bd1a9bff798412382db8aad3cbd19a (diff)
downloadAleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.tar.gz
AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.tar.bz2
AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.zip
Cleanup; Upgraded to Discord.JS v13; More buttons
Diffstat (limited to 'commands/suggestfeature.js')
-rw-r--r--commands/suggestfeature.js9
1 files changed, 5 insertions, 4 deletions
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!');
};