v0.7.0
Pre-release
Pre-release
Install
npm i @tmi.js/chat@0.7Changes
- e3fd978
fix: remove "oauth:" from the start of tokens
While still required by Twitch, it was presumed only the actual token value was passed. This will make sure to strip the "oauth:" from the token before it gets re-added for sending to Twitch. - 6c899a6
fix: mark existing combos events as deprecated and fixup types
Twitch has changed has the "Combos" feature works. Instead of creating streaks, it has become simply a "gift redeem". - 2df293c
feat: add combos redeem type
client.on('combos', e => {
switch(e.type) {
case 'redeem': {
console.log(`A ${e.theme} Combo was redeemed for ${e.bits} Bits`);
break;
}
default: {
console.log(`The ${e.type} Combo event is still in use, open an issue on Github at tmijs/chat`);
}
}
});Full Changelog: v0.6.1...v0.7.0