const Discord = require('discord.js');
async function feedback(client, msg, args, embed) {
        await msg.channel.startTyping();
        await embed.setColor('#46BE30');
        await embed.setThumbnail(msg.author.avatarURL);
        await embed.setTitle('Sugestão de '+msg.author.tag+', proveniente do servidor '+msg.guild.name);
        await embed.setDescription(args.join(" "));
        await embed.setFooter(msg.author.tag, msg.author.avatarURL);
        await client.guilds.get("330439963193901056").channels.get("359437797226053633").send({embed:embed});
        await msg.reply('obrigado pela sua sugestão! Ela irá ser vista pelo PillGP#2767 o quanto antes! :smile:');
        await msg.channel.stopTyping();
}

exports.run = (client, msg, args) => {
    const embed = new Discord.RichEmbed();
    feedback(client, msg, args, embed);
}