diff --git a/src/formatters.js b/src/formatters.js index 0c9a52b..9ed9d82 100644 --- a/src/formatters.js +++ b/src/formatters.js @@ -286,6 +286,11 @@ const defaultFormatters = { line += ` [${message.user_name}] ${message.body}`; } + if (message.attachments.length) { + line += "\n\n"; + line += message.attachments.join("\n"); + } + return line; });