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

make alias listen to case insensitive commands

Open technotronic12 opened this issue 8 years ago • 4 comments

I am using slack on phone, and it Capitalises the first letter of the sentence, which in HuBot's case is the bot's name. I need it to respond to both case sensitive and insensitive.

For example, my bot is named Dave. In slack, it responds to dave myAlias but not to Dave myAlias, but, it responds to a simple Dave help or dave help.

technotronic12 avatar Apr 19 '16 13:04 technotronic12

Coverage Status

Coverage remained the same at 100.0% when pulling c3c0404521870b3c7b674079c2047ba04a5c2385 on technotronic12:caseinsensitive into d908089570306c071db930ec8413d080ef96eb8c on dtaniwaki:master.

coveralls avatar Apr 19 '16 13:04 coveralls

Hi @technotronic12 Thank you for sending the request. Does your original hubot without this package respond to both Hubot and hubot?

dtaniwaki avatar Apr 19 '16 20:04 dtaniwaki

Yes @dtaniwaki, it responds to both. It doesn't recognise alias commands starting with capital letters.

technotronic12 avatar Apr 24 '16 19:04 technotronic12

Any news? @dtaniwaki

technotronic12 avatar May 02 '16 11:05 technotronic12