Skip to content

Commit

Permalink
Link to twitch PRIVMSG tags in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascdev committed Sep 28, 2024
1 parent b0ff0d1 commit 774b586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ func parseUser(message *ircMessage) User {
isVip bool
)

// https://dev.twitch.tv/docs/chat/irc/#privmsg-tags
isBroadcaster = message.Tags["user-id"] == message.Tags["room-id"]
_, isVip = message.Tags["vip"]
if value, tagFound := message.Tags["mod"]; tagFound {
Expand Down

0 comments on commit 774b586

Please sign in to comment.