diff --git a/src/Client.ts b/src/Client.ts index 5e813e0..4af6ff8 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -56,7 +56,7 @@ export default class Client extends Eris.Client { functions.forEach(async (func) => { if (func === 'index.ts') return; try { - require(`./functions/${func}`).default(this); + (require(`./functions/${func}`).default)(this); } catch (error) { await this.util.handleError(error); }