Closed Razor1928 closed 5 years ago
same problem with me
Yeah, same.
Workaround (kinda) I've found: Comment lines 5 to 9 and 15 to 19, i.e.:
/*logger.remove(logger.transports.Console);
logger.add(logger.transports.Console, {
colorize: true
});
logger.level = 'debug';*/
and
/*bot.on('ready', function (evt) {
logger.info('Connected');
logger.info('Logged in as: ');
logger.info(bot.username + ' - (' + bot.id + ')');
});*/
Workaround (kinda) I've found: Comment lines 5 to 9 and 15 to 19, i.e.:
/*logger.remove(logger.transports.Console); logger.add(logger.transports.Console, { colorize: true }); logger.level = 'debug';*/
and
/*bot.on('ready', function (evt) { logger.info('Connected'); logger.info('Logged in as: '); logger.info(bot.username + ' - (' + bot.id + ')'); });*/
I've tried this an when I do I don't get any message back and the bot stays offline, any other ideas?
fixed this by uninstalling winston and reinstalling and older version (v2.4.4). apparently v3 onwards isn't compatible
to make it work with winston3, just change the logger.add line to this:
logger.add(new logger.transports.Console(), {
I still haven't gotten the bot online, but that gets rid of the error
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Here is a screenshot of my problem, if anyone could help it would be very appreciated, i can also provide screenshots of my files if needed.