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

Commit 0b4a58e

Browse files
Merge pull request #1654 from joesb/foass-regex
Improve robot hear regex of foaas
2 parents 733f19e + 45e7513 commit 0b4a58e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/foass.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
module.exports = (robot) ->
16-
robot.hear /^fu ?(\w+)?/i, (msg) ->
16+
robot.hear /^fu(?:\s)(?=([\w ]+))/i, (msg) ->
1717
options = [
1818
'off',
1919
'you',

0 commit comments

Comments
 (0)