mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-13 17:58:42 +03:00
Remove unecessary indentation in log snippet and use ISO.
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user