Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit 769a334

Browse files
author
Brandon R. Stoner
committed
Use \b to only find "git" as it's own word.
1 parent e0be542 commit 769a334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/git-you-sucka.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# samn
1515

1616
module.exports = (robot) ->
17-
robot.hear /git/, (msg) ->
17+
robot.hear /\bgit\b/, (msg) ->
1818
if Math.random() < 0.1 then msg.reply 'ima git you sucka'

0 commit comments

Comments
 (0)