samueldg/err-urban-dictionary

Look into annoying formatting of linked words into [brackets]

Closed this issue · 0 comments

Urban Dictionary change the API so that the text response for definitions includes related words in brackets, e.g.:

screen shot 2019-01-22 at 8 32 38 pm

This format is kind of annoying in a text chat, so the bot should be updated to

  1. (preferably) have those words links like the Urban Dictionary website.
  2. Strip those brackets entirely.

Option 1) depends on whether the card body supports markdown-style links.
For option 2), there might be a cleaner way to do that in the updated API. Needs some investigation.