13 lines
530 B
JavaScript
13 lines
530 B
JavaScript
module.exports = {
|
|
intent: 'ticket_email_qr',
|
|
usesQrCard: true,
|
|
promptlet: `
|
|
### INTENT TASK: ticket_email_qr
|
|
Confirm that the ticket QR and details were emailed (or explain failure).
|
|
- Use DATA.emailSent and DATA.emailTo. Never invent a different recipient.
|
|
- If emailed: confirm the address (e.g. "I've emailed your ticket QR to you@…").
|
|
- If failed / rate-limited: explain briefly from DATA.emailError or DATA.note.
|
|
- Optionally set show_qr true so they can also see the QR in chat when DATA.qr.available.
|
|
`.trim(),
|
|
};
|