Skip to content

Commit beb698a

Browse files
committed
chore: and tip
1 parent 8c6adc2 commit beb698a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/plugins/official/scenes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,6 @@ const bot = new Bot(process.env.TOKEN as string)
403403
// ...
404404
.extend(scenesDerives([testScene], { storage }));
405405
```
406+
407+
> [!IMPORTANT]
408+
> Be careful. The first step of the scene should also include the event from which you entered the scene. (For example, if you enter via InlineButton click — `callback_query`)

docs/ru/plugins/official/scenes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ const bot = new Bot(process.env.TOKEN as string)
7777
});
7878
```
7979

80+
> [!WARNING]
81+
> Будьте внимательны. Первый шаг сцены должен так же включать в себя событие из которого вы вошли в сцену. (например если по нажатию InlineButton - `callback_query`)
82+
8083
### Общее состояние между шагами
8184

8285
```ts twoslash

0 commit comments

Comments
 (0)