summaryrefslogtreecommitdiff
path: root/src/wasp-event-handlers.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-03-26 23:34:28 -0400
committerLLLL Colonq <llll@colonq>2024-03-26 23:34:28 -0400
commit782c667e824d426b5443591afeefc37d0ae17785 (patch)
treeae5d232d598e2008bc2cadf32157a4d937b01951 /src/wasp-event-handlers.el
parent8e9db9303fc5d72ddfdc9ab4a9adaa8299e6e21a (diff)
We streamed for 9 hours and (mostly) fixed everything.
Diffstat (limited to 'src/wasp-event-handlers.el')
-rw-r--r--src/wasp-event-handlers.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/wasp-event-handlers.el b/src/wasp-event-handlers.el
new file mode 100644
index 00000000..6702d3d1
--- /dev/null
+++ b/src/wasp-event-handlers.el
@@ -0,0 +1,16 @@
+;;; wasp-event-handlers --- Event handlers -*- lexical-binding: t; -*-
+;;; Commentary:
+;;; Code:
+
+(require 'wasp-bus)
+(require 'wasp-twitch)
+
+(setf
+ w/bus-event-handlers
+ (list
+ (cons '(monitor twitch chat incoming) #'w/twitch-handle-incoming-chat)
+ (cons '(monitor twitch redeem incoming) #'w/twitch-handle-redeem)
+ ))
+
+(provide 'wasp-event-handlers)
+;;; wasp-event-handlers.el ends here