summaryrefslogtreecommitdiff
path: root/src/wasp-event-handlers.el
diff options
context:
space:
mode:
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