mirror-chatterino2/tests/snapshots/IrcMessageHandler/mod.json

215 lines
8.4 KiB
JSON

{
"input": "@badge-info=subscriber/34;badges=moderator/1,subscriber/24;color=#FF0000;display-name=테스트계정420;emotes=41:6-13,16-23;flags=;id=97c28382-e8d2-45a0-bb5d-2305fc4ef139;mod=1;room-id=11148817;subscriber=1;tmi-sent-ts=1590922036771;turbo=0;user-id=117166826;user-type=mod :testaccount_420!testaccount_420@testaccount_420.tmi.twitch.tv PRIVMSG #pajlada :-tags Kreygasm, Kreygasm",
"output": [
{
"badgeInfos": {
"subscriber": "34"
},
"badges": [
"moderator",
"subscriber"
],
"channelName": "pajlada",
"count": 1,
"displayName": "testaccount_420",
"elements": [
{
"color": "System",
"flags": "ChannelName",
"link": {
"type": "JumpToChannel",
"value": "pajlada"
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"10:47"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "10:47:16",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"emote": {
"images": {
"1x": "https://static-cdn.jtvnw.net/badges/v1/3267646d-33f0-4b17-b3df-f923a41db1d0/1",
"2x": "https://static-cdn.jtvnw.net/badges/v1/3267646d-33f0-4b17-b3df-f923a41db1d0/2",
"3x": "https://static-cdn.jtvnw.net/badges/v1/3267646d-33f0-4b17-b3df-f923a41db1d0/3"
},
"name": "",
"tooltip": "Moderator"
},
"flags": "BadgeChannelAuthority",
"link": {
"type": "None",
"value": ""
},
"tooltip": "Moderator",
"trailingSpace": true,
"type": "BadgeElement"
},
{
"color": "#ffff0000",
"flags": "Username",
"link": {
"type": "UserInfo",
"value": "testaccount_420"
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"testaccount_420(테스트계정420):"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"-tags"
]
},
{
"emote": {
"images": {
"1x": "https://static-cdn.jtvnw.net/emoticons/v2/41/default/dark/1.0",
"2x": "https://static-cdn.jtvnw.net/emoticons/v2/41/default/dark/2.0",
"3x": "https://static-cdn.jtvnw.net/emoticons/v2/41/default/dark/3.0"
},
"name": "Kreygasm",
"tooltip": "Kreygasm<br>Twitch Emote"
},
"flags": "TwitchEmoteImage|TwitchEmoteText",
"link": {
"type": "None",
"value": ""
},
"text": {
"color": "Text",
"flags": "Misc",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Kreygasm"
]
},
"tooltip": "Kreygasm<br>Twitch Emote",
"trailingSpace": false,
"type": "EmoteElement"
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
","
]
},
{
"emote": {
"images": {
"1x": "https://static-cdn.jtvnw.net/emoticons/v2/41/default/dark/1.0",
"2x": "https://static-cdn.jtvnw.net/emoticons/v2/41/default/dark/2.0",
"3x": "https://static-cdn.jtvnw.net/emoticons/v2/41/default/dark/3.0"
},
"name": "Kreygasm",
"tooltip": "Kreygasm<br>Twitch Emote"
},
"flags": "TwitchEmoteImage|TwitchEmoteText",
"link": {
"type": "None",
"value": ""
},
"text": {
"color": "Text",
"flags": "Misc",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Kreygasm"
]
},
"tooltip": "Kreygasm<br>Twitch Emote",
"trailingSpace": true,
"type": "EmoteElement"
},
{
"background": "#ffa0a0a4",
"flags": "ReplyButton",
"link": {
"type": "ReplyToMessage",
"value": "97c28382-e8d2-45a0-bb5d-2305fc4ef139"
},
"padding": 2,
"tooltip": "",
"trailingSpace": true,
"type": "CircularImageElement",
"url": ""
}
],
"flags": "Collapsed",
"id": "97c28382-e8d2-45a0-bb5d-2305fc4ef139",
"localizedName": "테스트계정420",
"loginName": "testaccount_420",
"messageText": "-tags Kreygasm, Kreygasm",
"searchText": "testaccount_420(테스트계정420) 테스트계정420 testaccount_420: -tags Kreygasm, Kreygasm ",
"serverReceivedTime": "2020-05-31T10:47:16Z",
"timeoutUser": "",
"usernameColor": "#ffff0000"
}
]
}