Skip to content

v0.7.2

Pre-release
Pre-release

Choose a tag to compare

@AlcaDesign AlcaDesign released this 30 Nov 15:39
· 29 commits to main since this release

NPM Version

Install

npm i @tmi.js/chat@0.7.2

Changes

  • dadeff2 feat: add option to control the pending channel join min rate
    You can now set a minimum rate for the Client to send join calls when it's automatically joining the channels list from the Client options and when reconnecting. The default value of joinDelayMs is 500 milliseconds (10 seconds / 20 calls). See the Twitch documentation on join rate limits for more information. Ping time is not taken into account and there is no jitter. 500ms should be about right to ensure no joins are dropped for rate limiting. I recommend a lower value like 350ms if there are a lot of channels to join.
    This does not affect calling the join method directly if you want full control.
const client = new tmi.Client({ channels, joinDelayMs: 350 });
  • 2862802 fix: track if the client did connect anonymously
    The Client property didConnectAnonymously will keep track of if the Client connected anonymously.

Full Changelog: v0.7.1...v0.7.2