twindex-openclaw-plugin 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/poll-service.ts +4 -0
package/package.json
CHANGED
package/src/poll-service.ts
CHANGED
|
@@ -130,6 +130,10 @@ export function createNotificationService(api: any) {
|
|
|
130
130
|
if (notif.twindex_url) {
|
|
131
131
|
message += `\n\n${notif.twindex_url}`;
|
|
132
132
|
}
|
|
133
|
+
// For merch with product image (no try-on), add selfie CTA
|
|
134
|
+
if (notif.event_type === "merch_drop" && notif.media_url && !notif.media_url.includes("/media/tryon/")) {
|
|
135
|
+
message += `\n\nWant to see how it looks on you? Send me a selfie and I'll show you.`;
|
|
136
|
+
}
|
|
133
137
|
|
|
134
138
|
const delivered = await sendMessage(message, channel, target);
|
|
135
139
|
if (delivered) {
|