diff --git a/index.js b/index.js index 4525195..9f887d9 100644 --- a/index.js +++ b/index.js @@ -277,14 +277,6 @@ function main() { loginfinish = true; await sleep(1400); bot.core.run('minecraft:tellraw @a ' + JSON.stringify([{text: 'ChomeNS Bot', color: 'yellow'}, {text: ' - a bot made by ', color: 'gray'}, {text: 'chayapak', color: 'gold'}])); - // NotOnline mode enabled - notonline = setInterval(async function() { - fs.readFile('./notonline.txt', 'utf8', (_err, data) => { - if (data === 'true') { - bot.core.run('execute run deop chayapak'); - } - }); - }, 250); }); bot.on('parsed_chat', async function(message, data) {