From 5c2aabb1d216236131afa890e8104743b61d81fb Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 26 Feb 2023 12:07:55 +0700 Subject: [PATCH] remove sus? --- bot.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/bot.js b/bot.js index 8af0ac2..67a4ed9 100644 --- a/bot.js +++ b/bot.js @@ -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])