the-bastion/bin/plugin/group-owner/groupDestroy.json
Stéphane Lesimple 3925e67d43 feat: add groupDestroy command for owners
This command deletes a group, as `groupDelete` does, but works
for owners so that they can delete their own group.
`groupDelete` remains as a restricted command, able to delete any group.

Closes #40.
2021-06-02 15:32:40 +02:00

9 lines
264 B
JSON

{
"interactive": [
"groupDestroy" , {"ac" : ["--group"]},
"groupDestroy --group" , {"ac" : ["<GROUP>"]},
"groupDestroy --group \\S+" , {"pr" : "<enter>"}
],
"master_only": true,
"terminal_mode": "raw"
}