Add thread number to logs
parent
69418c2562
commit
ab501871ec
|
@ -295,7 +295,7 @@ const defaultFormatters = {
|
||||||
});
|
});
|
||||||
|
|
||||||
const openedAt = moment(thread.created_at).format("YYYY-MM-DD HH:mm:ss");
|
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");
|
const fullResult = header + "\n\n" + lines.join("\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue