summaryrefslogtreecommitdiff
path: root/src/wasp-voice-commands.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-04-26 01:53:24 -0400
committerLLLL Colonq <llll@colonq>2024-04-26 01:53:24 -0400
commit6fa49e57f7313aad8852ce2721c2fcf7d0cec030 (patch)
tree34a2e4a851c663bc6d71d148e59b59ba345a5fdb /src/wasp-voice-commands.el
parent782c667e824d426b5443591afeefc37d0ae17785 (diff)
Updates
Diffstat (limited to 'src/wasp-voice-commands.el')
-rw-r--r--src/wasp-voice-commands.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/wasp-voice-commands.el b/src/wasp-voice-commands.el
new file mode 100644
index 00000000..ed43c073
--- /dev/null
+++ b/src/wasp-voice-commands.el
@@ -0,0 +1,24 @@
+;;; wasp-voice-commands --- Voice commands -*- lexical-binding: t; -*-
+;;; Commentary:
+;;; Code:
+
+(require 'soundboard)
+(require 'wasp-audio)
+(require 'wasp-twitch)
+(require 'wasp-chat)
+(require 'wasp-obs)
+
+(setq
+ w/stream-transcribe-voice-commands
+ (list
+ (cons "mr. beast" (lambda () (soundboard//play-clip "mrbeast.mp3")))
+ (cons "joel" (lambda () (w/twitch-say (w/pick-random (list "Joel" "EvilJoel")))))
+ (cons "i can't" (lambda () (cl-incf w/chat-icant-count) (w/chat-update-header-line)))
+ (cons "lua"
+ (lambda ()
+ (progn (w/obs-toggle-brazil)
+ (run-with-timer 1 nil #'w/obs-toggle-brazil))))
+ ))
+
+(provide 'wasp-voice-commands)
+;;; wasp-voice-commands.el ends here