We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad77df commit 264fab4Copy full SHA for 264fab4
src/scripts/rajinikanth.coffee
@@ -28,5 +28,6 @@ module.exports = (robot) ->
28
$ = cheerio.load(body)
29
fact = $(".fact").find(".ftext").text()
30
31
- fact = fact.replace /raji?ni(kanth?)?/ig, user if !!user
+ if !!user
32
+ fact = fact.replace /raji?ni(kanth?)?/ig, user
33
msg.send fact
0 commit comments