diff options
Diffstat (limited to 'src/wasp-twitch-chat-commands.el')
| -rw-r--r-- | src/wasp-twitch-chat-commands.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/wasp-twitch-chat-commands.el b/src/wasp-twitch-chat-commands.el index e4018aeb..aea0529d 100644 --- a/src/wasp-twitch-chat-commands.el +++ b/src/wasp-twitch-chat-commands.el @@ -14,6 +14,12 @@ (setq w/twitch-chat-commands (list + (cons "!jam" (lambda (_ _ _) (w/twitch-say "https://api.colonq.computer/jam/2026"))) + (cons + "!oub" + (lambda (_ _ msg) + (when-let ((buf (get-buffer "*cider-repl libcolonq/pit:localhost:7888(pit)*"))) + (nrepl-sync-request:eval (s-trim (s-chop-prefix "!oub" msg)) buf)))) (cons "!commands" (lambda (_ _ _) @@ -24,6 +30,7 @@ (s-join " " (--filter (s-contains? "!" it) (-map #'car w/twitch-chat-commands)))))))) + (cons "forsenE" (lambda (_ _ _) (w/sfx-play (w/sfx-glob "clipthat")))) (cons "MRBEAST" (lambda (_ _ _) (soundboard//play-clip "mrbeast.mp3"))) (cons "NICECOCK" (lambda (_ _ _) (soundboard//play-clip "pantsintoashes.mp3"))) (cons "hexadiCoding" (lambda (_ _ _) (soundboard//play-clip "developers.ogg"))) @@ -65,10 +72,8 @@ (let* ( (args (s-split " " msg)) (auser (cadr args))) (if (s-present? auser) - (w/user-id-from-name auser - (lambda (uid) - (w/twitch-say (format "@%s: see %s's cards at: https://api.colonq.computer/api/tcg/binder/%s" user auser uid)))) - (w/twitch-say (format "@%s: see your cards at: https://api.colonq.computer/api/tcg/binder/%s" user uid)))))) + (w/twitch-say (format "@%s: see %s's cards at: https://greencircle.dev/u/%s" user auser auser)) + (w/twitch-say (format "@%s: see your cards at: https://greencircle.dev/u/%s" user user)))))) (cons "!refresh" (lambda (uid user _) (let ((p (w/twitch-user-avatar-path user))) @@ -112,7 +117,7 @@ (cons "!pronuciation" (lambda (_ _ _) (w/twitch-say "spelling"))) (cons "!pronunciation" (lambda (_ _ _) (w/twitch-say (w/pronunciation)))) (cons "!news" (lambda (_ _ _) (w/twitch-say "https://news.colonq.computer"))) - (cons "!oub" (lambda (_ _ _) (w/twitch-say "https://oub.colonq.computer"))) + ;; (cons "!oub" (lambda (_ _ _) (w/twitch-say "https://oub.colonq.computer"))) (cons "!game" (lambda (_ _ _) (w/twitch-say "https://oub.colonq.computer"))) (cons "!cellar" (lambda (_ _ _) (w/twitch-say "https://pub.colonq.computer/~llll/cellar/index.html"))) (cons "!voidstranger" (lambda (_ _ _) (w/twitch-say "https://store.steampowered.com/app/2121980/Void_Stranger/"))) |
