mirror-chatterino2/tests/snapshots/IrcMessageHandler/reply-block.json

218 lines
7.9 KiB
JSON

{
"input": "@tmi-sent-ts=1726692474917;subscriber=1;id=289ffa22-d29a-4300-88be-1734b0a33b2a;room-id=11148817;user-id=129546453;display-name=nerixyz;badges=subscriber/24;badge-info=subscriber/27;color=#FF0000;flags=;user-type=;emotes=;reply-parent-msg-body=BLOCK;reply-thread-parent-user-login=nerixyz;reply-thread-parent-user-id=129546453;reply-parent-user-login=nerixyz;reply-thread-parent-display-name=nerixyz;reply-parent-msg-id=4d2af478-c471-4b3a-8c6f-568a54d2fe7a;reply-thread-parent-msg-id=4d2af478-c471-4b3a-8c6f-568a54d2fe7a;reply-parent-display-name=nerixyz;reply-parent-user-id=129546453 :nerixyz!nerixyz@nerixyz.tmi.twitch.tv PRIVMSG #pajlada :@nerixyz reply",
"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"
]
},
{
"flags": "RepliedMessage",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "ReplyCurveElement"
},
{
"color": "System",
"flags": "RepliedMessage",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumSmall",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Replying",
"to"
]
},
{
"color": "Text",
"flags": "RepliedMessage",
"link": {
"type": "UserInfo",
"value": "nerixyz"
},
"style": "ChatMediumSmall",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"@nerixyz:"
]
},
{
"color": "Text",
"flags": "Text|RepliedMessage",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumSmall",
"tooltip": "",
"trailingSpace": true,
"type": "SingleLineTextElement",
"words": [
"BLOCK"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"20:47"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "20:47:54",
"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": [
"reply"
]
},
{
"background": "#ffa0a0a4",
"flags": "ReplyButton",
"link": {
"type": "ReplyToMessage",
"value": "289ffa22-d29a-4300-88be-1734b0a33b2a"
},
"padding": 2,
"tooltip": "",
"trailingSpace": true,
"type": "CircularImageElement",
"url": ""
}
],
"flags": "Collapsed",
"id": "289ffa22-d29a-4300-88be-1734b0a33b2a",
"localizedName": "",
"loginName": "nerixyz",
"messageText": "reply",
"searchText": "nerixyz nerixyz: reply ",
"serverReceivedTime": "2024-09-18T20:47:54Z",
"timeoutUser": "",
"usernameColor": "#ffff0000"
}
],
"params": {
"prevMessages": [
"@tmi-sent-ts=1726692469188;subscriber=1;id=4d2af478-c471-4b3a-8c6f-568a54d2fe7a;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 :BLOCK"
]
},
"settings": {
"ignore": {
"phrases": [
{
"caseSensitive": false,
"isBlock": false,
"pattern": "ignore",
"regex": false,
"replaceWith": "replace"
},
{
"caseSensitive": true,
"isBlock": false,
"pattern": "CaseSensitive",
"regex": false,
"replaceWith": "casesensitivE"
},
{
"caseSensitive": true,
"isBlock": true,
"pattern": "BLOCK",
"regex": false,
"replaceWith": "?"
},
{
"caseSensitive": true,
"isBlock": true,
"pattern": "block!{2,}",
"regex": true,
"replaceWith": "replace"
}
]
}
}
}