(self, text)
| 28 | self.client = Client(api_url=api_url, token=token) |
| 29 | |
| 30 | def run(self, text): |
| 31 | alias_match = ActionAliasMatch() |
| 32 | alias_match.command = text |
| 33 | matches = self.client.managers["ActionAlias"].match(alias_match) |
| 34 | return {"alias": _format_match(matches[0]), "representation": matches[1]} |
| 35 | |
| 36 | |
| 37 | def _format_match(match): |