diff --git a/src/class/Client.ts b/src/class/Client.ts index 92f05ba..4c150a3 100644 --- a/src/class/Client.ts +++ b/src/class/Client.ts @@ -159,9 +159,7 @@ export default class Client extends DiscordClient { }); const intervals = await fs.readdir(`${__dirname}/../intervals`); intervals.forEach((interval) => { - if (interval === 'index.js') { - return; - } + if (interval === 'index.js') return; require(`${__dirname}/../intervals/${interval}`).default(this); this.signale.complete(`Loaded interval ${interval.split('.')[0]}`); });