diff --git a/bot.js b/bot.js index 64c0a73..b55b382 100644 --- a/bot.js +++ b/bot.js @@ -99,7 +99,5 @@ async function init() { await require('./util/wait')(5000); if (!client.misc.readied) {client.misc.forcedReady = true; await require('./events/ready')(client);} - - require('./console')(client); } init().then(() => {}); \ No newline at end of file diff --git a/events/ready.js b/events/ready.js index 57d990d..49f47c7 100644 --- a/events/ready.js +++ b/events/ready.js @@ -111,4 +111,6 @@ module.exports = async client => { console.log(`${chalk.gray('\n[INFO]')} >> ${chalk.white(`Startup completed in ${cms - client.misc.startup.getTime() - (client.misc.forcedReady ? 5000 : 0)}ms (${cms - client.misc.startupNoConnect.getTime() - (client.misc.forcedReady ? 5000 : 0)}ms post-connect).`)}`); await botData.save(); + + require('../console')(client); }; \ No newline at end of file