added sub commands for modules

This commit is contained in:
Mathew committed 2019-06-20 12:41:20 +02:00
1 parent afea8ffe7a
commit e2809ef61a
1 file changed
+5
+5
View File
@@ -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()
}