summaryrefslogtreecommitdiff
path: root/src/wasp-event-handlers-binary.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-06-09 18:31:55 -0400
committerLLLL Colonq <llll@colonq>2025-06-09 18:31:55 -0400
commit5bad5320032a8fc477e9f2527d23036c41ac023e (patch)
tree0d6643223b94d2e8413c77487b49918a9413b38b /src/wasp-event-handlers-binary.el
parent5d003af92aff89cc600c1125e2e8767fc88b7ae4 (diff)
Update
Diffstat (limited to 'src/wasp-event-handlers-binary.el')
-rw-r--r--src/wasp-event-handlers-binary.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wasp-event-handlers-binary.el b/src/wasp-event-handlers-binary.el
index ae373b8c..2698d686 100644
--- a/src/wasp-event-handlers-binary.el
+++ b/src/wasp-event-handlers-binary.el
@@ -13,11 +13,15 @@
(list
(cons "monitor twitch chat incoming"
(lambda (d)
- (-let [(user stags msg) (s-split-up-to " " d 2)]
+ (-let [(user stags msg) (s-split-up-to " " (w/utf8 d) 2)]
(w/twitch-handle-incoming-chat
user
(--map (s-split "\t" it) (s-split "\n" stags))
- msg)))))
+ msg))))
+ (cons "frontend redeem incoming"
+ (lambda (d)
+ (-let [(user redeem input) (s-split-up-to "\t" (w/utf8 d) 2)]
+ (w/twitch-handle-redeem-helper user redeem input 1000))))
))
(provide 'wasp-event-handlers-binary)