remove shit logger

This commit is contained in:
ChomeNS 2022-11-13 13:54:34 +07:00
parent 441abf7264
commit a2adbbb955
2 changed files with 1 additions and 2 deletions

View file

@ -115,7 +115,6 @@ async function main() {
bot.console.info(`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.entityId = data.entityId;
bot.uuid = bot._client.uuid;

View file

@ -56,7 +56,7 @@ function inject(bot, dcclient, config) {
const message = messagee.replace(/* /§r/g */ /§[a-f0-9rlonmk]/g, '')/* .replace(/§/g, '')*/;
bot.command_handler.run(username, usernameraw, message, sender);
} catch (e) {
return;
bot.console.error(e);
}
});
bot.on('cspy', async function(usernamee, messagee) {