diff --git a/bot.js b/bot.js index fedb03a..5b02dea 100644 --- a/bot.js +++ b/bot.js @@ -727,7 +727,7 @@ client.on('messageUpdate', (originalMessage, editedMessage) => { editEmbed.addField("Message", `\`\`\`diff\n+${originalMessage}\n+${editedMessage}\`\`\``) } if (editedMessage.attachments) { - editEmbed.addField("Attachments", editedMessage.attachments.array().map(`[${a.name}](${a.url})`).join(' • ')) + editEmbed.addField("Attachments", editedMessage.attachments.array().map(a =>`[${a.name}](${a.url})`).join(' • ')) } collection.findOne({ guild_id: editedMessage.guild.id }, (error, result) => { if (error) {