change intense to standard (dc doesn't support)

This commit is contained in:
ChomeNS 2022-10-16 18:56:44 +07:00
parent 7ce80b2e99
commit 8154b429ff

View file

@ -298,7 +298,7 @@ function main() {
} }
const cleanMessage = escapeMarkdown(message.toAnsi(), true); 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()); consoleQueue.push(message.toAnsi());