diff options
| author | LLLL Colonq <llll@colonq> | 2025-01-03 14:41:11 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-01-03 14:41:11 -0500 |
| commit | 83f9a7b14bfb2fc90044d2809485b1c0a39cc841 (patch) | |
| tree | 01472f7164fa1e3e5c9eae0570d71ff1b52ce751 /src/wasp-twitch.el | |
| parent | 6628a49b953842a3c358bdf3f5e45284480db0c3 (diff) | |
Update
Diffstat (limited to 'src/wasp-twitch.el')
| -rw-r--r-- | src/wasp-twitch.el | 9 |
1 files changed, 6 insertions, 3 deletions
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") "") |
