backspace / slack-statsbot

A Slack bot to track statistics about who is talking the most
80 stars 12 forks source link

Incorrectly assigns attributes if two sentences are sent as one message #18

Open EBNull opened 8 years ago

EBNull commented 8 years ago

I wrote "I'm not a man. I am white." as a single message. I received "We have noted that you are a person of colour. If I got it wrong, try saying “I am not a person of colour” ; Okay, we have noted that you are not a man. If I got it wrong, try saying “I am a man”."

Perhaps we should split on the full stop character and parse each sentence as a new message/informational directive?

backspace commented 8 years ago

It’s true that it assumes one setting per message which is not ideal. For now, you’ll have to set each characteristic in an independent message. But I’ll keep this open and should be able to add it eventually, thanks for the suggestion.