added sub commands for modules
This commit is contained in:
1 parent
afea8ffe7a
commit
e2809ef61a
1 file changed
+5
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user