From 8154b429ff1a19c2c324c902924e30c15bff696a Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 16 Oct 2022 18:56:44 +0700 Subject: [PATCH] change intense to standard (dc doesn't support) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ce33f4a..d7ed638 100644 --- a/index.js +++ b/index.js @@ -298,7 +298,7 @@ function main() { } const cleanMessage = escapeMarkdown(message.toAnsi(), true); - discordMsg = /* '_ _ ' + */cleanMessage.replaceAll('@', '@\u200b\u200b\u200b\u200b\u200b').replaceAll('http', 'http\u200b\u200b\u200b\u200b\u200b');// .replace(/[\r\n]/gm, '\n') + discordMsg = /* '_ _ ' + */cleanMessage.replaceAll('@', '@\u200b\u200b\u200b\u200b\u200b').replaceAll('http', 'http\u200b\u200b\u200b\u200b\u200b').replaceAll('\u001b[9', '\u001b[3');// .replace(/[\r\n]/gm, '\n') consoleQueue.push(message.toAnsi());