Call Get Cheermotes Reference | Twitch Developers
To get known prefixes.
Then search the chat message for prefixY using a regex
an example is in the chat guide
Sent only for Bits messages. The amount of cheer/Bits employed by the user. All instances follow the regular expression:
/(^\|\s)<emote-name>\d+(\s\|$)/