Java-Twirk
Java-Twirk copied to clipboard
Small, basic library for communication via the Twitch chat. Java 8 compatible
Implemented as per [the Twitch documentation](https://dev.twitch.tv/docs/irc/send-receive-messages#:~:text=To%20reply%20to%20the%20above%20chat%20message).
Whenever I use the `sender.getColor()` method inside of `onPrivMsg(TwitchUser sender, TwitchMessage message)`, it returns a number that is not a valid hex value
`public Set getModsOnline()` from Twirk.java returning empty set, even if moderators present on channel and typing in chat. Although `public Set getUsersOnline()` is working properly.
Recently stumbled on this [undocumented api](https://discuss.dev.twitch.tv/t/beta-badge-api/6388). May prove useful for parsing out badges.
Twitch plans to deprecate some message tags: `subscriber`, `turbo` and `user-type`. They want people to use `badges` instead. https://dev.twitch.tv/docs/irc/tags#privmsg-twitch-tags
There doesn't appear to be a way to determine if a user is a VIP. This seems to me like it would fit in with USER_TYPE with a value below...
Some observations from using this simple and cool library for a few hours: - I spent a bit of time trying to figure out the correct token to login, manually...
Does this library support 3rd party emote services like FrankerFaceZ, BetterTwitchTV, 7TV, etc.?