Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Parse messages better #20

Open
sornas opened this issue Nov 18, 2020 · 0 comments
Open

Parse messages better #20

sornas opened this issue Nov 18, 2020 · 0 comments

Comments

@sornas
Copy link
Member

sornas commented Nov 18, 2020

parse_message should maybe use the "match" functionality? You can make it a lot more declarative. If we split the string upto the first space can simplify a lot of the code from what I've seen. Maybe a dict mapped to a function that takes the rest of the string? Closures might be overkill...

Originally posted by @FredTheDino in #10 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant