Intent Details
CancelRestartOrderIntent
Cancel or restart order
Priority: 2
Strategy: RegEx
Command Handler Type: PragyaBOT.Services.UrbanChakki.Commands.Handlers.CancelRestartOrderCommandHandler, PragyaBOT.Services.UrbanChakki
Active: True
Patterns
| Pattern | Statement | Priority | Active | |
|---|---|---|---|---|
| (?i)^\s*(?:cancel(?:\s+(?:this\s+)?order)?|restart|start(?:\s+a?\s*new\s+order)?|hope\s+you\s+cancel.*can\s+i\s+place\s+new\s+order.*)\s*$ | Cancel this order and restart | 1 | True | Edit | |
| (?i)^\s*(?:cancel(?:\s+(?:this\s+)?order)?|cancel\s+this|hope\s+you\s+cancel.*)\s*$ | For Cancel words | 6 | True | Edit | |
| (?i)^\s*(?:restart|start(?:\s+(?:a\s+)?new(?:\s+order)?)?|start\s+over)\s*$ | restart | 11 | True | Edit | |
| (?i)^\s*(?:cancel.*and\s+restart|cancel.*can\s+i\s+place\s+new\s+order.*)\s*$ | both cancel and restart | 16 | True | Edit | |
| CancelRestartOrder | 1 | True | Edit | |