Skip to content

SubGifts, Raids and major re-writes

Choose a tag to compare

@Gikkman Gikkman released this 07 May 20:25
· 82 commits to master since this release
1c8b363

There has beenmajor changes from Java-Twirk 0.3 to Java-Twirk 0.4. I am sorry for the hassle, but it was a necessity. Changes include (but is not limited to)

  • Added support for Subscription Gift
  • Added support for Raid
  • Encapsulated all default factories (previously all public under GikkDefault_)
  • TwirkListenerBaseImpl has been removed, please implement TwirkListener instead
  • Mode-events has been depricated (please use the TwitchUser.isMod() instead)
  • Subscriber-event has been removed. It is now found under Usernotice-event instead (Twitch has changed their grouping)
  • USER_TYPES now has category SUBSCRIBER, which is given to regular subs and turbo subs.
  • USER_TYPES now has ranks, which allows you to do if( user.getUserType().value >= USER_TYPE.SUBSCRIBER.value )
  • Added the isOwner() status on TwichUser

And probably some more. Thankfully, Java is a strongly typed language, so you will notice if your code is not compatible 🗡️