mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2025-04-24 04:53:39 -04:00
ops
This commit is contained in:
parent
ad3604af04
commit
77f2eabbdc
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue