jchristgit / nosedrum

a command framework for nostrum
https://hexdocs.pm/nosedrum/Nosedrum.html
ISC License
34 stars 12 forks source link

Write custom quote parser #5

Open jchristgit opened 5 years ago

jchristgit commented 5 years ago

The current try_split implementation causes some weird behaviour when splitting messages where quotes within words are interpreted as quoted words, such as

you're implying that you're blue

gets parsed as

["youre implying that youre", "blue"]

which is wrong