Files
chatterino2/tests/snapshots/EventSub/automod-message-update/approved.json
pajlada 18e3d7c72b refactor: rename Badge to TwitchBadge (#6706)
this change is made to clarify that the previously-called Badge object
is actually specialized for Twitch badges
2026-01-04 12:52:02 +01:00

300 lines
10 KiB
JSON

{
"input": [
{
"__subscription": "automod-message-hold",
"automod": {
"boundaries": [
{
"end_pos": 2,
"start_pos": 0
}
],
"category": "swearing",
"level": 4
},
"blocked_term": null,
"broadcaster_user_id": "11148817",
"broadcaster_user_login": "pajlada",
"broadcaster_user_name": "pajlada",
"held_at": "2025-02-28T16:15:15.008668809Z",
"message": {
"fragments": [
{
"cheermote": null,
"emote": null,
"text": "ass",
"type": "text"
}
],
"text": "ass"
},
"message_id": "19d067ff-89b5-4790-a720-97599894eb6b",
"reason": "automod",
"user_id": "129546453",
"user_login": "nerixyz",
"user_name": "nerixyz"
},
{
"automod": {
"boundaries": [
{
"end_pos": 2,
"start_pos": 0
}
],
"category": "swearing",
"level": 4
},
"blocked_term": null,
"broadcaster_user_id": "11148817",
"broadcaster_user_login": "pajlada",
"broadcaster_user_name": "pajlada",
"held_at": "2025-02-28T16:15:15.008668809Z",
"message": {
"fragments": [
{
"cheermote": null,
"emote": null,
"text": "ass",
"type": "text"
}
],
"text": "ass"
},
"message_id": "19d067ff-89b5-4790-a720-97599894eb6b",
"moderator_user_id": "489584266",
"moderator_user_login": "uint128",
"moderator_user_name": "uint128",
"reason": "automod",
"status": "approved",
"user_id": "129546453",
"user_login": "nerixyz",
"user_name": "nerixyz"
}
],
"output": [
{
"channelName": "pajlada",
"count": 1,
"displayName": "",
"elements": [
{
"emote": {
"homePage": "https://dashboard.twitch.tv/settings/moderation/automod",
"images": {
"1x": ""
},
"name": "",
"tooltip": "AutoMod"
},
"flags": "BadgeChannelAuthority",
"link": {
"type": "None",
"value": ""
},
"tooltip": "AutoMod",
"trailingSpace": true,
"type": "BadgeElement"
},
{
"color": "#ff0000ff",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"AutoMod:"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Held",
"a",
"message",
"for",
"reason:",
"swearing",
"level",
"4.",
"Allow",
"will",
"post",
"it",
"in",
"chat.",
""
]
},
{
"color": "#ff00ff00",
"flags": "Text",
"link": {
"type": "AutoModAllow",
"value": "19d067ff-89b5-4790-a720-97599894eb6b"
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Allow"
]
},
{
"color": "#ffff0000",
"flags": "Text",
"link": {
"type": "AutoModDeny",
"value": "19d067ff-89b5-4790-a720-97599894eb6b"
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"",
"Deny"
]
}
],
"flags": "Disabled|PubSub|AutoMod|AutoModOffendingMessageHeader|EventSub|ModerationAction",
"frozen": true,
"id": "automod_19d067ff-89b5-4790-a720-97599894eb6b",
"localizedName": "",
"loginName": "automod",
"messageText": "AutoMod: Held a message for reason: swearing level 4. Allow will post it in chat. Allow Deny",
"searchText": "AutoMod: Held a message for reason: swearing level 4. Allow will post it in chat. Allow Deny",
"serverReceivedTime": "2024-05-14T12:31:47Z",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
},
{
"channelName": "pajlada",
"count": 1,
"displayName": "",
"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": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"12:31"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "12:31:47",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"flags": "ModeratorTools",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "TwitchModerationElement"
},
{
"color": "Text",
"fallbackColor": "Text",
"flags": "Text|Mention",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "MentionElement",
"userColor": "Text",
"userLoginName": "nerixyz",
"words": [
"nerixyz:"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"ass"
]
}
],
"flags": "PubSub|AutoMod|AutoModOffendingMessage|EventSub|ModerationAction",
"frozen": true,
"id": "",
"localizedName": "",
"loginName": "nerixyz",
"messageText": "nerixyz: ass",
"searchText": "nerixyz: ass",
"serverReceivedTime": "2024-05-14T12:31:47Z",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
]
}