grammyjs / conversations

Conversational interfaces for grammY.
https://grammy.dev/plugins/conversations
MIT License
52 stars 17 forks source link

fix: do not crash when functions are missing from ctx but throw a warning #55

Closed KnorpelSenf closed 2 years ago

KnorpelSenf commented 2 years ago

Closes #54.

codecov-commenter commented 2 years ago

Codecov Report

Base: 97.48% // Head: 97.52% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (eb43101) compared to base (1644d38). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #55 +/- ## ========================================== + Coverage 97.48% 97.52% +0.03% ========================================== Files 4 4 Lines 637 647 +10 Branches 101 103 +2 ========================================== + Hits 621 631 +10 Misses 15 15 Partials 1 1 ``` | [Impacted Files](https://codecov.io/gh/grammyjs/conversations/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grammyjs) | Coverage Δ | | |---|---|---| | [src/conversation.ts](https://codecov.io/gh/grammyjs/conversations/pull/55/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grammyjs#diff-c3JjL2NvbnZlcnNhdGlvbi50cw==) | `97.33% <100.00%> (+0.05%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grammyjs). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grammyjs)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.