Zirak / SO-ChatBot

Other
124 stars 60 forks source link

/define sometimes leaves out some text #175

Closed Zirak closed 10 years ago

Zirak commented 10 years ago

http://chat.stackoverflow.com/transcript/message/14581363#14581363

!!define plugin @Dave plugin Alternative spelling of

This may lead to extreme stress and possible death, as @RUJodan will never find out what plugin is an alternative spelling of.

Bonus: Detect this scenario, and grab the alternative definition.

RUJodan commented 10 years ago

You're lucky you're awesome.

SomeKittens commented 10 years ago

Looking at the page, it seems that Caprica misparsed the link (or perhaps the chat markdown ate it).

Zirak commented 10 years ago

The problem is in line 112. Ima fix that.

Zirak commented 10 years ago

Bonus completed (do I earn extra points?). However, not for every scenario - it only detects when the alternative is one of:

There're more, but I figured we won't run into them. If you come across some, yell at me here. Either way, if it's not detected, it should now actually tell you the complete definition, with a link to the alternative url.