1
0
Fork 0
mirror of https://github.com/ChomeNS/chomens-bot-mc.git synced 2025-04-24 04:53:39 -04:00
This commit is contained in:
ChomeNS 2022-10-16 13:20:28 +07:00
parent ad3604af04
commit 77f2eabbdc

View file

@ -297,7 +297,7 @@ function main() {
if (parsedMessage.extra[0].text==='Command set: ') return;
}
const cleanMessage = escapeMarkdown(message.toAnsi());
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')
consoleQueue.push(message.toAnsi());