boot fixes

merge-requests/4/head
Matthew 2020-03-17 01:35:43 -04:00
parent 09bdc2867e
commit 4c0d5cad32
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ export default class Client extends Eris.Client {
private async loadFunctions() { private async loadFunctions() {
const functions = await fs.readdir('./functions'); const functions = await fs.readdir('./functions');
functions.forEach(async (func) => { functions.forEach(async (func) => {
if (func === 'index.ts' || func === 'index.js') return; if (func === 'index.ts' || func === 'index.js' || func === 'dataConversion.js') return;
try { try {
(require(`./functions/${func}`).default)(this); (require(`./functions/${func}`).default)(this);
} catch (error) { } catch (error) {