DotaResponsesRedditBot
DotaResponsesRedditBot copied to clipboard
Magnus and Spirit Breaker - This is bullshit ./!
There is a difference between: This is bullshit. (Spirit Breaker) and This is bullshit! (Magnus) In both cases SB voice line is called.
https://www.reddit.com/r/DotA2/comments/17rg5k1/comment/k8ktphl/?utm_source=share&utm_medium=web2x&context=3
Magnus voice line should be called when there is exclamation mark ( ! ) at the end of the sentence and Spirit Breaker when there is dot ( . )
Currently we strip the comment of all punctuations, extra spaces, newlines, reddit markdowj etc and then match it against existing voicelines. This might be the reason both Magnus and Spirit breaker both match. If multiple matches are found one is chosen randomly (SB in both cases for you). But yeah, I get your point, exact matches should he the first preference. I'll change and update the bot soon. Sorry for the delayed reply.