refactor: rename Badge to TwitchBadge (#6706)

this change is made to clarify that the previously-called Badge object
is actually specialized for Twitch badges
This commit is contained in:
pajlada
2026-01-04 12:52:02 +01:00
committed by GitHub
parent 7fed720d18
commit 18e3d7c72b
190 changed files with 1058 additions and 1049 deletions
@@ -2,12 +2,6 @@
"input": "@badge-info=;flags=;room-id=11148817;color=;client-nonce=0d1632f37b6baee51576859d5dbaf325;emotes=;subscriber=0;tmi-sent-ts=1727395701680;id=19ee1663-c14d-41cd-a4a2-30a4bb609c5a;turbo=1;badges=staff/1,turbo/1;source-badges=staff/1,moderator/1,bits-leader/1;source-badge-info=;display-name=creativewind;source-room-id=1025594235;source-id=b97eea45-f9dc-4f0c-8744-f8256c3ed950;user-type=staff;user-id=106940612;mod=0 :creativewind!creativewind@creativewind.tmi.twitch.tv PRIVMSG #pajlada :Guys",
"output": [
{
"badgeInfos": {
},
"badges": [
"staff",
"turbo"
],
"channelName": "pajlada",
"count": 1,
"displayName": "creativewind",
@@ -195,6 +189,12 @@
"searchText": "creativewind creativewind: Guys ",
"serverReceivedTime": "2024-09-27T00:08:21Z",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
"staff",
"turbo"
],
"userID": "106940612",
"usernameColor": "#ff00ff00"
}