From 83f9a7b14bfb2fc90044d2809485b1c0a39cc841 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Fri, 3 Jan 2025 14:41:11 -0500 Subject: Update --- src/wasp-twitch.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/wasp-twitch.el') diff --git a/src/wasp-twitch.el b/src/wasp-twitch.el index a9d3084b..419d8fc9 100644 --- a/src/wasp-twitch.el +++ b/src/wasp-twitch.el @@ -485,12 +485,15 @@ CALLBACK will be passed the winner when the poll concludes." (defun w/twitch-badges-sigil (badges) "Return the sigil character BADGES for the current user." - (let ((equity (alist-get :equity w/user-current)) - (name (s-downcase w/user-current-name))) + (let* ((equity (alist-get :equity w/user-current)) + (name (s-downcase w/user-current-name)) + (max-stars (w/aoc-max-stars)) + (aoc-stars (w/aoc-lookup-stars name))) (apply #'s-concat (-non-nil (list + (when (and aoc-stars (>= aoc-stars max-stars)) "🎄") (when (-contains? badges "broadcaster/1") "(it me)") (when (-contains? badges "moderator/1") "⚔") (when (-contains? badges "artist-badge/1") "🖌ïļ") @@ -514,7 +517,7 @@ CALLBACK will be passed the winner when the poll concludes." ((s-equals? name "tyumici") "ðŸĪŒ") ;; clone is lord ((s-equals? name "liquidcake1") "") ;; ((s-equals? name "loufbread_") "") - ;; ((s-equals? name "yellowberryhn") "") + ((s-equals? name "yellowberryhn") "ðŸŠī") ;; ((s-equals? name "maradyne_") "") ;; ((s-equals? name "sampie159") "") ;; ((s-equals? name "zamielpayne") "") -- cgit v1.2.3