Skip to content

Commit

Permalink
fix(chat-convert): badge version now converts to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibbp committed Oct 26, 2022
1 parent 3d0fb2e commit 8a82415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func ConvertTwitchLiveChatToVodChat(path string, channelName string, vID string,
for _, liveBadge := range liveComment.Author.Badges {
userBadge := UserBadge{
ID: liveBadge.Name,
Version: string(rune(liveBadge.Version)),
Version: strconv.Itoa(liveBadge.Version),
}
parsedComment.Message.UserBadges = append(parsedComment.Message.UserBadges, userBadge)
}
Expand Down

0 comments on commit 8a82415

Please sign in to comment.