master
Kit Kasune 3 years ago
parent 3959a4765c
commit 441ef940aa
  1. 2
      handle/command.js
  2. 2
      handle/event.js
  3. 2
      handle/response.js

@ -26,7 +26,7 @@ module.exports = async client => {
else {addCommand(command);} else {addCommand(command);}
} }
log(`\n${chalk.gray('[BOOT]')} >> ${chalk.blue('Loaded all Commands')}`); log(`\n${chalk.gray('[BOOT]')} >> ${chalk.blue('Loaded all Commands')}`);
client.misc.cache.spin.success('command', {text: iters.map(i => `Loaded ${i.slice(0, 1).toUpperCase()}${i.slice(1)}s`).map(i => client.misc.config.gradients ? gs.instagram(i) : chalk.blue(i))[0]}); if (client.misc.config.spinners) {client.misc.cache.spin.success('command', {text: iters.map(i => `Loaded ${i.slice(0, 1).toUpperCase()}${i.slice(1)}s`).map(i => client.misc.config.gradients ? gs.instagram(i) : chalk.blue(i))[0]});}
resolve(0); resolve(0);
}); });
}; };

@ -19,7 +19,7 @@ module.exports = async client => {
log(`${chalk.gray('[LOAD]')} >> ${chalk.blueBright('Loaded Event')} ${chalk.white(evtName)}`); log(`${chalk.gray('[LOAD]')} >> ${chalk.blueBright('Loaded Event')} ${chalk.white(evtName)}`);
} }
log(`\n${chalk.gray('[BOOT]')} >> ${chalk.blue('Loaded all Events')}`); log(`\n${chalk.gray('[BOOT]')} >> ${chalk.blue('Loaded all Events')}`);
client.misc.cache.spin.success('event', {text: iters.map(i => `Loaded ${i.slice(0, 1).toUpperCase()}${i.slice(1)}s`).map(i => client.misc.config.gradients ? gs.instagram(i) : chalk.blue(i))[1]}); if (client.misc.config.spinners) {client.misc.cache.spin.success('event', {text: iters.map(i => `Loaded ${i.slice(0, 1).toUpperCase()}${i.slice(1)}s`).map(i => client.misc.config.gradients ? gs.instagram(i) : chalk.blue(i))[1]});}
resolve(0); resolve(0);
}); });
}; };

@ -18,7 +18,7 @@ module.exports = client => {
log(`${chalk.gray('[LOAD]')} >> ${chalk.blueBright('Loaded Response')} ${chalk.white(response.name)}`); log(`${chalk.gray('[LOAD]')} >> ${chalk.blueBright('Loaded Response')} ${chalk.white(response.name)}`);
} }
log(`\n${chalk.gray('[BOOT]')} >> ${chalk.blue('Loaded all Responses')}`); log(`\n${chalk.gray('[BOOT]')} >> ${chalk.blue('Loaded all Responses')}`);
client.misc.cache.spin.success('response', {text: iters.map(i => `Loaded ${i.slice(0, 1).toUpperCase()}${i.slice(1)}s`).map(i => client.misc.config.gradients ? gs.instagram(i) : chalk.blue(i))[2]}); if (client.misc.config.spinners) {client.misc.cache.spin.success('response', {text: iters.map(i => `Loaded ${i.slice(0, 1).toUpperCase()}${i.slice(1)}s`).map(i => client.misc.config.gradients ? gs.instagram(i) : chalk.blue(i))[2]});}
resolve(0); resolve(0);
}); });
}; };
Loading…
Cancel
Save