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

133 lines
4.8 KiB
JSON

{
"input": "@badge-info=subscriber/34;badges=moderator/1,subscriber/24;color=#FF0000;display-name=테스트계정420;emotes=;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 :foo",
"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://chatterino.com/ffz-mod1x.png"
},
"name": "",
"tooltip": "Moderator"
},
"flags": "BadgeChannelAuthority",
"link": {
"type": "None",
"value": ""
},
"tooltip": "Moderator",
"trailingSpace": true,
"type": "ModBadgeElement"
},
{
"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": [
"foo"
]
},
{
"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": "foo",
"searchText": "testaccount_420(테스트계정420) 테스트계정420 testaccount_420: foo ",
"serverReceivedTime": "2020-05-31T10:47:16Z",
"timeoutUser": "",
"usernameColor": "#ffff0000"
}
],
"params": {
"ffzCustomModBadge": true
}
}