From 441ef940aa783dd7b952eb3885edd865b563f834 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 12 Jan 2022 20:06:58 -0700 Subject: [PATCH] bugg --- handle/command.js | 2 +- handle/event.js | 2 +- handle/response.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/handle/command.js b/handle/command.js index bec67be..6dfd92e 100644 --- a/handle/command.js +++ b/handle/command.js @@ -26,7 +26,7 @@ module.exports = async client => { else {addCommand(command);} } 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); }); }; \ No newline at end of file diff --git a/handle/event.js b/handle/event.js index 2629d85..bc72cdb 100644 --- a/handle/event.js +++ b/handle/event.js @@ -19,7 +19,7 @@ module.exports = async client => { log(`${chalk.gray('[LOAD]')} >> ${chalk.blueBright('Loaded Event')} ${chalk.white(evtName)}`); } 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); }); }; \ No newline at end of file diff --git a/handle/response.js b/handle/response.js index 64e6bf5..c255765 100644 --- a/handle/response.js +++ b/handle/response.js @@ -18,7 +18,7 @@ module.exports = client => { log(`${chalk.gray('[LOAD]')} >> ${chalk.blueBright('Loaded Response')} ${chalk.white(response.name)}`); } 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); }); }; \ No newline at end of file