hubot-plusplus icon indicating copy to clipboard operation
hubot-plusplus copied to clipboard

handle because / cause / cuz

Open ParthKolekar opened this issue 8 years ago • 4 comments

hubot always responds with for when a reason is given.

thing-- because reason

this throws out

thing has X points for reason

It should be

thing has X points because reason

ParthKolekar avatar Jul 27 '16 17:07 ParthKolekar

I'm wondering if there's some reasonable way of getting this to work in languages other than english, I mean, without including every possible translation of the word for.

fuadsaud avatar Aug 15 '16 17:08 fuadsaud

Well, it already matches because, cuz, for and a few more things. The scope of this is to regex match those and reply with the matched phrase rather than printing for each time.

ParthKolekar avatar Aug 15 '16 17:08 ParthKolekar

@ParthKolekar gotcha, I think I mixed up things. I'm gonna create a separate issue.

fuadsaud avatar Aug 15 '16 17:08 fuadsaud

Well, let me be less lazy and make a PR for this myself. :grin: It is simple enough to do.

ParthKolekar avatar Aug 15 '16 17:08 ParthKolekar