boomba-bot / boomba

An Elixir Discord bot for streamers
MIT License
2 stars 0 forks source link

fix: random.pick quoted items not parsed correctly #19

Closed xunafay closed 3 years ago

xunafay commented 3 years ago

random.pick with quoted variables: ${random.pick "option one" "option two"} parses as following options -> "option one" "option two"

related code: https://github.com/boomba-bot/boomba/blob/10b3fe99e3dc7e808b09e7d934d6de253c150c93/lib/parser/variables.ex#L10-L18