forked from engineering/cloudservices
boot fixes
parent
09bdc2867e
commit
4c0d5cad32
|
@ -64,7 +64,7 @@ export default class Client extends Eris.Client {
|
|||
private async loadFunctions() {
|
||||
const functions = await fs.readdir('./functions');
|
||||
functions.forEach(async (func) => {
|
||||
if (func === 'index.ts' || func === 'index.js') return;
|
||||
if (func === 'index.ts' || func === 'index.js' || func === 'dataConversion.js') return;
|
||||
try {
|
||||
(require(`./functions/${func}`).default)(this);
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue