Skip to content

Commit

Permalink
added vip deprecated key for PRVMSG
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Aug 19, 2022
1 parent 83abcc2 commit 0d7a77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TwitchIRC/IncomingMessage/PrivateMessage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public struct PrivateMessage: MessageWithBadges {
userId: parser.string(for: "reply-parent-user-id")
)

let deprecatedKeys = ["turbo", "mod", "subscriber", "user-type"]
let deprecatedKeys = ["turbo", "mod", "vip", "subscriber", "user-type"]
let occasionalKeys = [["crowd-chant-parent-msg-id"], ["bits"], ["emote-only"], ["msg-id"], ["custom-reward-id"], ["client-nonce"], ["flags"], ["first-msg"], ["reply-parent-display-name", "reply-parent-user-login", "reply-parent-msg-body", "reply-parent-msg-id", "reply-parent-user-id"]]

self.parsingLeftOvers = parser.getLeftOvers(
Expand Down

0 comments on commit 0d7a77c

Please sign in to comment.