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,10 +2,6 @@
"input": "@tmi-sent-ts=1736678514028;room-id=11148817;badges=;badge-info=;flags=;user-type=;emotes= :tmi.twitch.tv CLEARCHAT #pajlada",
"output": [
{
"badgeInfos": {
},
"badges": [
],
"channelName": "",
"count": 4,
"displayName": "",
@@ -70,18 +66,14 @@
"searchText": "Chat has been cleared by a moderator. (4 times) ",
"serverReceivedTime": "2025-01-12T10:41:54Z",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
},
{
"badgeInfos": {
"subscriber": "108"
},
"badges": [
"broadcaster",
"subscriber",
"partner"
],
"channelName": "pajlada",
"count": 1,
"displayName": "pajlada",
@@ -239,6 +231,14 @@
"searchText": "pajlada pajlada: asd ",
"serverReceivedTime": "2025-01-12T10:41:52Z",
"timeoutUser": "",
"twitchBadgeInfos": {
"subscriber": "108"
},
"twitchBadges": [
"broadcaster",
"subscriber",
"partner"
],
"userID": "11148817",
"usernameColor": "#ffcc44ff"
}