mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
remove shit logger
This commit is contained in:
parent
441abf7264
commit
a2adbbb955
2 changed files with 1 additions and 2 deletions
1
index.js
1
index.js
|
@ -115,7 +115,6 @@ async function main() {
|
||||||
|
|
||||||
bot.console.info(`Connecting to: ${bot.options.host}:${bot.options.port}...`);
|
bot.console.info(`Connecting to: ${bot.options.host}:${bot.options.port}...`);
|
||||||
channel.send(`Connecting to: \`${bot.options.host}:${bot.options.port}\`...`);
|
channel.send(`Connecting to: \`${bot.options.host}:${bot.options.port}\`...`);
|
||||||
console.log(bot._client);
|
|
||||||
bot._client.on('login', async function(data) {
|
bot._client.on('login', async function(data) {
|
||||||
bot.entityId = data.entityId;
|
bot.entityId = data.entityId;
|
||||||
bot.uuid = bot._client.uuid;
|
bot.uuid = bot._client.uuid;
|
||||||
|
|
|
@ -56,7 +56,7 @@ function inject(bot, dcclient, config) {
|
||||||
const message = messagee.replace(/* /§r/g */ /§[a-f0-9rlonmk]/g, '')/* .replace(/§/g, '')*/;
|
const message = messagee.replace(/* /§r/g */ /§[a-f0-9rlonmk]/g, '')/* .replace(/§/g, '')*/;
|
||||||
bot.command_handler.run(username, usernameraw, message, sender);
|
bot.command_handler.run(username, usernameraw, message, sender);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return;
|
bot.console.error(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
bot.on('cspy', async function(usernamee, messagee) {
|
bot.on('cspy', async function(usernamee, messagee) {
|
||||||
|
|
Loading…
Reference in a new issue