Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/bot-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ BUN_CONFIG_VERBOSE_FETCH=curl bun src/index.ts

And logs will looks like:

```curl
```bash [curl]
[fetch] > HTTP/1.1 POST https://example.com/
[fetch] > content-type: application/json
[fetch] > Connection: keep-alive
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/official/scenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const testScene = new Scene("test").step("message", async (context) => {
const testScene = new Scene("test").step("message", async (context) => {
if (context.scene.step.firstTime) return context.send("First message");

return context.scene.next();
return context.scene.step.next();
});
```

Expand Down
2 changes: 1 addition & 1 deletion docs/ru/bot-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ BUN_CONFIG_VERBOSE_FETCH=curl bun src/index.ts

И логи будут выглядеть так:

```curl
```bash [curl]
[fetch] > HTTP/1.1 POST https://example.com/
[fetch] > content-type: application/json
[fetch] > Connection: keep-alive
Expand Down
2 changes: 1 addition & 1 deletion docs/ru/plugins/official/scenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ const testScene = new Scene("test").step("message", async (context) => {
const testScene = new Scene("test").step("message", async (context) => {
if (context.scene.step.firstTime) return context.send("Первое сообщение");

return context.scene.next();
return context.scene.step.next();
});
```

Expand Down
2 changes: 1 addition & 1 deletion docs/ru/tma/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bun create gramio@latest ./bot

Когда вы создаете проект с монорепозиторием, структура вашего каталога будет выглядеть так:

```tree
```bash [tree]
├── apps
│ ├── bot # Ваше приложение бота GramIO
│ ├── mini-app # Фронтенд Telegram Mini App
Expand Down
2 changes: 1 addition & 1 deletion docs/tma/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ and choose the type of project you need!

For example, this is what a monorepo created using [create-gramio](https://github.com/gramiojs/create-gramio) looks like

```tree
```bash [tree]
├── apps
│ ├── bot
│ ├── mini-app
Expand Down