mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 23:57:57 -05:00
ops \n
This commit is contained in:
parent
329aebf40b
commit
119a0daa6a
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -306,7 +306,7 @@ function main() {
|
||||||
const cleanMessage = escapeMarkdown(message.toString());
|
const cleanMessage = escapeMarkdown(message.toString());
|
||||||
discordMsg = /* '_ _ ' + */cleanMessage.replaceAll('@', '@\u200B').replaceAll('http', '[http]');// .replace(/[\r\n]/gm, '\n')
|
discordMsg = /* '_ _ ' + */cleanMessage.replaceAll('@', '@\u200B').replaceAll('http', '[http]');// .replace(/[\r\n]/gm, '\n')
|
||||||
|
|
||||||
consoleQueue += '\n' + message.toAnsi();
|
consoleQueue += message.toAnsi();
|
||||||
|
|
||||||
// fs.appendFileSync('./logs.txt', `${bot.options.host}: ${message.toMotd()}\r\n`);
|
// fs.appendFileSync('./logs.txt', `${bot.options.host}: ${message.toMotd()}\r\n`);
|
||||||
// if (discordMsg)return channel.send(`${discordMsg.substring(0, 2000)}`)
|
// if (discordMsg)return channel.send(`${discordMsg.substring(0, 2000)}`)
|
||||||
|
|
Loading…
Reference in a new issue