(self, data: dict)
| 54 | self.cmd(ctx, data['commands']) |
| 55 | |
| 56 | def cmd_syntax(self, data: dict): |
| 57 | for option in self.allowed_cmds: |
| 58 | if self.has_cmd(option): |
| 59 | data['cmd'].append(self.get_cmd(option)) |
| 60 | |
| 61 | def cmd(self, ctx: CtxItem, cmds: list): |
| 62 | from .worker import Worker |