Commit 38380cd5 authored by Szegoo's avatar Szegoo
Browse files

Accept both \tip and /tip

parent 5dc2cc2d
Pipeline #217252 passed with stages
in 1 minute and 30 seconds
...@@ -28,7 +28,7 @@ const onIssueComment = async ( ...@@ -28,7 +28,7 @@ const onIssueComment = async (
if ( if (
!isPullRequest(context) || !isPullRequest(context) ||
context.payload.action !== "created" || context.payload.action !== "created" ||
!botMention?.startsWith("/tip") !(botMention?.startsWith("/tip") || botMention?.startsWith("\\tip"))
) { ) {
return return
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment