Skip to content

Commit 9813c42

Browse files
committed
robot: fix pat command invocation
1 parent 1cbb187 commit 9813c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

privmsg.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ var twitchAny = []twitchCommand{
473473
name: "clean",
474474
},
475475
{
476-
parse: regexp.MustCompile(`^(?i:\**(?:head\s*)?p[ae]t|(?:chin\s*)scritch|(?:cheek|shoulder|back|foot)?\s*rub|(?:bi+g\s+)hug|g[ou]+d\s+(?:girl|gril|boy|bot|pet|wife|waifu|h[ua]su?bando?|partner|spouse|daddy|mommy))|^(?::?\w+P[aAeE][tT][sS]?:?\s*)*\W*$`),
476+
parse: regexp.MustCompile(`^(?i:\**(?:head\s*)?p[ae]t|(?:chin\s*)scritch|(?:cheek|shoulder|back|foot)?\s*rub|(?:bi+g\s+)hug|g[ou]+d\s+(?:girl|gril|boy|bot|pet|wife|waifu|h[ua]su?bando?|partner|spouse|daddy|mommy))|^(?::?\w+P[aAeE][tT][sS]?:?\s*)+\W*$`),
477477
fn: command.Pat,
478478
name: "pat",
479479
},

0 commit comments

Comments
 (0)