forked from engineering/cloudservices
one liner
parent
7629d3284b
commit
9b412ae7df
|
@ -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]}`);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue