mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCCompat > Entities] Global: Add api.commands.unregisterCommand
This commit is contained in:
parent
d95f20db3f
commit
86a2e3b7cb
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ window.powercord = {
|
|||
}, [
|
||||
{ type: 3, required: false, name: 'args', description: 'Arguments for PC command' } // Argument for any string for compat. with PC's classical commands
|
||||
])
|
||||
},
|
||||
|
||||
unregisterCommand: (command) => {
|
||||
goosemodScope.patcher.commands.remove(command);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue