From e2809ef61a5c796d2a2e10675fd97ecc01c359d7 Mon Sep 17 00:00:00 2001 From: Mathew Date: Thu, 20 Jun 2019 12:41:20 +0200 Subject: [PATCH] added sub commands for modules --- public/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/main.js b/public/main.js index c881cf3..3e755bf 100644 --- a/public/main.js +++ b/public/main.js @@ -1664,6 +1664,11 @@ class Con { } break; } + if(mod.commands){ + for (let f in mod.commands) { + this.Functions[f] = mod.commands[f] + } + } this.log(`Downloaded ${name} module`, 'ok') resolve() }