summaryrefslogtreecommitdiff
path: root/src/wasp-event-handlers.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-12-02 17:40:36 -0500
committerLLLL Colonq <llll@colonq>2024-12-02 17:40:36 -0500
commit6628a49b953842a3c358bdf3f5e45284480db0c3 (patch)
treee0fdff71394c667f01199be997d11fee14ed50c2 /src/wasp-event-handlers.el
parent0b95071fe628d91238549b062961e724088d3b8b (diff)
Update :5
Diffstat (limited to 'src/wasp-event-handlers.el')
-rw-r--r--src/wasp-event-handlers.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wasp-event-handlers.el b/src/wasp-event-handlers.el
index 10bee34b..ad8c8299 100644
--- a/src/wasp-event-handlers.el
+++ b/src/wasp-event-handlers.el
@@ -40,7 +40,8 @@
(cons
'(frontend redeem incoming)
(lambda (msg)
- (w/twitch-handle-redeem-api msg)))
+ (w/twitch-handle-redeem-api msg)
+ ))
(cons
'(monitor twitch raid)
(lambda (msg)
@@ -109,6 +110,12 @@
(lambda (_)
(w/write-chat-event "Gamble finished")
(setq w/twitch-current-prediction-ids nil)))
+ ;; (cons
+ ;; '(monitor discord chat incoming)
+ ;; (lambda (data)
+ ;; (let ((user (w/decode-string (cadr data)))
+ ;; (msg (w/decode-string (cadddr data))))
+ ;; (w/write-chat-event (format "discord from %s: %s" user msg)))))
))
(provide 'wasp-event-handlers)