Remove unecessary indentation in log snippet and use ISO.

This commit is contained in:
zkldi
2021-11-10 05:14:28 +00:00
parent 19c76f8cdc
commit 0e6690ee8a
+2 -4
View File
@@ -131,14 +131,12 @@ export default class DiscordTransport extends Transport {
const postBody = {
content: `
\`\`\`
${logSnippet.length > 1500 ? `${logSnippet.slice(0, 1500 - 3)}...` : logSnippet}
\`\`\``,
\`\`\`${logSnippet.length > 1500 ? `${logSnippet.slice(0, 1500 - 3)}...` : logSnippet}\`\`\``,
embeds: [
{
title: `${TachiConfig.NAME} Log Summary`,
fields,
description: `Log summary for ${this.bucketStart?.toUTCString()} to ${new Date().toUTCString()}.`,
description: `Log summary for ${this.bucketStart?.toISOString()} to ${new Date().toISOString()}.`,
color,
timestamp: new Date().toISOString(),
},