test: USERNOTICE snapshot tests (#5656)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"input": "@badges=staff/1,broadcaster/1,turbo/1;color=#008000;display-name=ronni;emotes=;id=db25007f-7a18-43eb-9379-80131e44d633;login=ronni;mod=0;msg-id=resub;msg-param-months=6;msg-param-sub-plan=Prime;msg-param-sub-plan-name=Prime;room-id=11148817;subscriber=1;system-msg=ronni\\shas\\ssubscribed\\sfor\\s6\\smonths!;tmi-sent-ts=1507246572675;turbo=1;user-id=1337;user-type=staff :tmi.twitch.tv USERNOTICE #pajlada :somethingblock!!something",
|
||||
"output": [
|
||||
],
|
||||
"settings": {
|
||||
"ignore": {
|
||||
"phrases": [
|
||||
{
|
||||
"caseSensitive": false,
|
||||
"isBlock": false,
|
||||
"pattern": "ignore",
|
||||
"regex": false,
|
||||
"replaceWith": "replace"
|
||||
},
|
||||
{
|
||||
"caseSensitive": true,
|
||||
"isBlock": true,
|
||||
"pattern": "block!{2,}",
|
||||
"regex": true,
|
||||
"replaceWith": "?"
|
||||
},
|
||||
{
|
||||
"caseSensitive": true,
|
||||
"isBlock": true,
|
||||
"pattern": "",
|
||||
"regex": false,
|
||||
"replaceWith": "empty"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user