Problem: The bot should ignore time references in code blocks because they are most probably some logs or just some code quotations.
Solution: Ignore codeblocks by analyzing (undocumented) block structure of incoming Slack messages, using some simple code ignoring function when the block structure cannot be parsed.
Related issue(s)
Fixed #38
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[ ] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[ ] I checked whether I should update the docs and did so if necessary:
Description
Problem: The bot should ignore time references in code blocks because they are most probably some logs or just some code quotations.
Solution: Ignore codeblocks by analyzing (undocumented) block structure of incoming Slack messages, using some simple code ignoring function when the block structure cannot be parsed.
Related issue(s)
Fixed #38
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)