remove sus?

This commit is contained in:
ChomeNS 2023-02-26 12:07:55 +07:00
parent 24d4c62fab
commit 5c2aabb1d2

3
bot.js
View file

@ -1,5 +1,4 @@
const mc = require('minecraft-protocol')
const sleep = require('sleep-promise')
const { EventEmitter } = require('events')
const { loadPlugins } = require('./util/loadPlugins')
const util = require('node:util')
@ -54,8 +53,6 @@ async function createBot (server, config, getBots, setNewBot, dcclient, rl) {
bot.version = bot._client.version
bot.write = (name, data) => bot._client.write(name, data)
await sleep(200)
setNewBot(bot.server.host, bot)
const channel = dcclient.channels.cache.get(config.discord.servers[bot.server.host])