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 Embed = new MessageEmbed()
.setAuthor(message.author.username, message.author.displayAvatarURL())
.setDescription(args.text)
.setFooter(`Author ID: ${message.author.id}`)
.setAuthor(`${message.author.username} (${message.author.id})`, message.author.displayAvatarURL())
.addField('Guild', `${message.guild.name} (${message.guild.id})`, true)
.addField('Feedback', args.text)
.setTimestamp();
channel.send({embed: Embed});
message.channel.send('Your feedback has been sent!');