1
0
Fork 0

would help if we'd actually inst the client

refactor/models
Matthew 2019-10-27 20:43:48 -04:00
parent 798b770d08
commit 308320e28e
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ export default class Client extends Eris.Client {
const evtFiles = await fs.readdir('./events/');
const commands = await fs.readdir(path.join(__dirname, './commands/'));
commands.forEach((command) => {
if (command === 'index.js') return;
this.loadCommand(`./commands/${command}`);
});