refactor: parse in separate functions
refactor: parse in separate functions

Remove a vulnerability for mailicious injection.

jkcclemens/lalafell_bot,jkcclemens/lalafell_bot,jkcclemens/lalafell_bot,jkcclemens/lalafell_bot