mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
remove sus?
This commit is contained in:
parent
24d4c62fab
commit
5c2aabb1d2
1 changed files with 0 additions and 3 deletions
3
bot.js
3
bot.js
|
@ -1,5 +1,4 @@
|
||||||
const mc = require('minecraft-protocol')
|
const mc = require('minecraft-protocol')
|
||||||
const sleep = require('sleep-promise')
|
|
||||||
const { EventEmitter } = require('events')
|
const { EventEmitter } = require('events')
|
||||||
const { loadPlugins } = require('./util/loadPlugins')
|
const { loadPlugins } = require('./util/loadPlugins')
|
||||||
const util = require('node:util')
|
const util = require('node:util')
|
||||||
|
@ -54,8 +53,6 @@ async function createBot (server, config, getBots, setNewBot, dcclient, rl) {
|
||||||
bot.version = bot._client.version
|
bot.version = bot._client.version
|
||||||
bot.write = (name, data) => bot._client.write(name, data)
|
bot.write = (name, data) => bot._client.write(name, data)
|
||||||
|
|
||||||
await sleep(200)
|
|
||||||
|
|
||||||
setNewBot(bot.server.host, bot)
|
setNewBot(bot.server.host, bot)
|
||||||
|
|
||||||
const channel = dcclient.channels.cache.get(config.discord.servers[bot.server.host])
|
const channel = dcclient.channels.cache.get(config.discord.servers[bot.server.host])
|
||||||
|
|
Loading…
Reference in a new issue