From c5ca2ec5698a8250ddc7a6a5ca2c1b1b5e37da95 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Thu, 25 Jul 2019 16:47:22 +0300 Subject: [PATCH] Update index.js --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 41847c8b..a4e13d44 100644 --- a/index.js +++ b/index.js @@ -20,8 +20,10 @@ client.on('message', async msg => { var guildms = client.guilds.find(x => x.name === 'Musix Support') var channelms = guildms.channels.find(x => x.name === 'log') const embed = new Discord.RichEmbed() - .setTitle(`${msg.author.id}, ${msg.member.displayName}`) - .addField(`Message content: ${msg.content}`, `Message Guild: ${msg.guild.name}`) + .setTitle(`**User:** ${msg.author.id}, ${msg.member.displayName}`) + .addField(`**Message channel:** ${msg.channel.name}`, `Message Guild: ${msg.guild.name}`) + .setFooter(`**Message Content:** ${msg.content}`) + .setColor('#b50002') channelms.send(embed) if (msg.content === `${PREFIX}ping`) { msg.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`)