[PCCompat > Entities] Global: Add api.commands.unregisterCommand
This commit is contained in:
parent
d95f20db3f
commit
86a2e3b7cb
|
@ -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
|
{ 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 New Issue