From ab501871ec569cc679c47bc1c82128c16864dfcf Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 1 Nov 2020 23:28:05 +0200 Subject: [PATCH] Add thread number to logs --- src/formatters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formatters.js b/src/formatters.js index 5a92935..6302de6 100644 --- a/src/formatters.js +++ b/src/formatters.js @@ -295,7 +295,7 @@ const defaultFormatters = { }); const openedAt = moment(thread.created_at).format("YYYY-MM-DD HH:mm:ss"); - const header = `# Modmail thread with ${thread.user_name} (${thread.user_id}) started at ${openedAt}. All times are in UTC+0.`; + const header = `# Modmail thread #${thread.thread_number} with ${thread.user_name} (${thread.user_id}) started at ${openedAt}. All times are in UTC+0.`; const fullResult = header + "\n\n" + lines.join("\n");