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

179 lines
6.1 KiB
JSON

{
"input": "@tmi-sent-ts=1726866916736;subscriber=1;id=7b5d2152-8eec-41ce-83eb-999ce5c21d28;room-id=11148817;user-id=129546453;display-name=nerixyz;badges=subscriber/24;badge-info=subscriber/27;color=#FF0000;flags=;user-type=;emotes= :nerixyz!nerixyz@nerixyz.tmi.twitch.tv PRIVMSG #pajlada :something my-highlight *",
"output": [
{
"badgeInfos": {
"subscriber": "27"
},
"badges": [
"subscriber"
],
"channelName": "pajlada",
"count": 1,
"displayName": "nerixyz",
"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": [
"21:15"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "21:15:16",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"flags": "ModeratorTools",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "TwitchModerationElement"
},
{
"color": "#ffff0000",
"flags": "Username",
"link": {
"type": "UserInfo",
"value": "nerixyz"
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"nerixyz:"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"something"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"my-highlight"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"*"
]
},
{
"background": "#ffa0a0a4",
"flags": "ReplyButton",
"link": {
"type": "ReplyToMessage",
"value": "7b5d2152-8eec-41ce-83eb-999ce5c21d28"
},
"padding": 2,
"tooltip": "",
"trailingSpace": true,
"type": "CircularImageElement",
"url": ""
}
],
"flags": "Highlighted|Collapsed|ShowInMentions",
"highlightColor": "#7f7f3f49",
"id": "7b5d2152-8eec-41ce-83eb-999ce5c21d28",
"localizedName": "",
"loginName": "nerixyz",
"messageText": "something my-highlight *",
"searchText": "nerixyz nerixyz: something my-highlight * ",
"serverReceivedTime": "2024-09-20T21:15:16Z",
"timeoutUser": "",
"usernameColor": "#ffff0000"
}
],
"settings": {
"highlighting": {
"highlights": [
{
"alert": false,
"case": false,
"color": "#7f7f3f49",
"pattern": "my-highlight",
"regex": false,
"showInMentions": true,
"sound": true,
"soundUrl": ""
},
{
"alert": false,
"case": false,
"color": "#48ae812f",
"pattern": "no-mention-highlight",
"regex": false,
"showInMentions": false,
"sound": true,
"soundUrl": ""
}
]
}
}
}