mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
f
This commit is contained in:
parent
2034047469
commit
8abb38ae9e
1 changed files with 0 additions and 1 deletions
|
@ -18,7 +18,6 @@ function inject(bot) {
|
|||
bot.on('parsed_chat', (message, packet) => {
|
||||
try {
|
||||
const raw = message.toMotd().substring(0, 32767);
|
||||
console.log(raw)
|
||||
if (raw.match(/.* .*§r: §.*/g)) {
|
||||
// if (packet.sender === '00000000-0000-0000-0000-000000000000') return;
|
||||
const username = raw.replace(/.*?\[.*?\] /, '').replace(/:.*/g, '').replace(/§#....../gm, '');
|
||||
|
|
Loading…
Reference in a new issue