1
0
Fork 0
mirror of https://github.com/ChomeNS/chomens-bot-mc.git synced 2025-04-02 07:19:42 -04:00

hm http\u200B???

This commit is contained in:
ChomeNS 2022-10-15 15:22:35 +07:00
parent 497e973df5
commit 97af38d5b8

View file

@ -306,7 +306,7 @@ function main() {
}
const cleanMessage = escapeMarkdown(message.toString());
discordMsg = /* '_ _ ' + */cleanMessage.replaceAll('@', '@\u200B').replaceAll('http', '[http]');// .replace(/[\r\n]/gm, '\n')
discordMsg = /* '_ _ ' + */cleanMessage.replaceAll('@', '@\u200B').replaceAll('http', 'http\u200B');// .replace(/[\r\n]/gm, '\n')
consoleQueue.push(message.toAnsi());