Closed IlyaSemenov closed 1 year ago
After playing around I went with a bit less radical approach. I cleaned the internals and stopped relying on composer internals. However, the API is almost the same and in most cases no changes to user code will be required. The scene still has use
/do
and wait
as main building blocks as before, with all other previously publicly documented methods (label
, goto
, etc.) available.
The unnumbered steps problem was not addressed in this release, it will be covered separately.
Oops! Seems like semantic release didn't recognize the breaking changes.
https://github.com/semantic-release/commit-analyzer/issues/231
Released in v8.0.0.
So far I've been using grammy-scenes with 2 bots, ~15 scenes, and ~100 "steps", and I wanted to share my observations.
What I like:
scene.call
/ctx.scene.call
(goto, exit, etc.) counterparts, where the former is simply a shortcut for the latter.What I don't like:
.use()
)..always()
feels counter-intuitive.So I'm thinking on blending the two approaches, the one that I've used initially with the current one. I'm thinking like this: