refactor: move MessageBuilder snapshot test to IrcMessageHandler (#5654)

This commit is contained in:
nerix
2024-10-18 15:41:57 +02:00
committed by GitHub
parent 800f6df2cf
commit a8d60b0b05
69 changed files with 12 additions and 13 deletions
@@ -0,0 +1,32 @@
{
"input": "@tmi-sent-ts=1726692555236;subscriber=1;id=38a32590-81c6-460b-a49d-fcf2bec0f788;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 :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"
}
]
}
}
}