Changed the look of the feedback message

This commit is contained in:
loicbersier 2019-09-21 20:53:15 +02:00
parent 452c7ef594
commit 56b6b7f324

View file

@ -29,9 +29,9 @@ class FeedbackCommand extends Command {
const channel = this.client.channels.get(feedbackChannel); const channel = this.client.channels.get(feedbackChannel);
const Embed = new MessageEmbed() const Embed = new MessageEmbed()
.setAuthor(message.author.username, message.author.displayAvatarURL()) .setAuthor(`${message.author.username} (${message.author.id})`, message.author.displayAvatarURL())
.setDescription(args.text) .addField('Guild', `${message.guild.name} (${message.guild.id})`, true)
.setFooter(`Author ID: ${message.author.id}`) .addField('Feedback', args.text)
.setTimestamp(); .setTimestamp();
channel.send({embed: Embed}); channel.send({embed: Embed});
message.channel.send('Your feedback has been sent!'); message.channel.send('Your feedback has been sent!');