diff --git a/types/tmi.js/index.d.ts b/types/tmi.js/index.d.ts index 0363842148..3909e4b0af 100644 --- a/types/tmi.js/index.d.ts +++ b/types/tmi.js/index.d.ts @@ -5,7 +5,7 @@ // TypeScript Version: 3.3 // Twitch IRC docs: https://dev.twitch.tv/docs/irc/ -// Last updated: 2019/3/06 +// Last updated: 2020/8/10 import { StrictEventEmitter } from "./strict-event-emitter-types"; @@ -114,6 +114,7 @@ export interface Badges { broadcaster?: string; global_mod?: string; moderator?: string; + vip?: string; subscriber?: string; staff?: string; turbo?: string; diff --git a/types/tmi.js/tmi.js-tests.ts b/types/tmi.js/tmi.js-tests.ts index 28a380088b..fe6883a524 100644 --- a/types/tmi.js/tmi.js-tests.ts +++ b/types/tmi.js/tmi.js-tests.ts @@ -68,7 +68,7 @@ client.connect().then(() => { emotes.test.forEach(element => { }); } if (badges) { - const { admin, turbo, subscriber, bits, broadcaster, global_mod, moderator, premium, staff } = badges; + const { admin, turbo, subscriber, bits, broadcaster, global_mod, moderator, premium, staff, vip } = badges; } userstate["display-name"]; userstate["emotes-raw"];