feat(bot): implement conversation flow for start command
add conversation handler for start command with name input and welcome message update locales for new conversation flow add @grammyjs/conversations dependency
This commit is contained in:
14
package-lock.json
generated
14
package-lock.json
generated
@@ -26,6 +26,7 @@
|
||||
"@hono/zod-openapi": "^0.9.0",
|
||||
"@hono/zod-validator": "^0.4.3",
|
||||
"@repo/config": "*",
|
||||
"@repo/db": "*",
|
||||
"@repo/logger": "*",
|
||||
"@repo/typescript-config": "*",
|
||||
"dotenv": "^17.1.0",
|
||||
@@ -149,6 +150,7 @@
|
||||
"apps/bot": {
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@grammyjs/conversations": "^2.1.0",
|
||||
"@grammyjs/i18n": "^1.1.2",
|
||||
"@hono/node-server": "^1.15.0",
|
||||
"@repo/config": "*",
|
||||
@@ -894,6 +896,18 @@
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@grammyjs/conversations": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@grammyjs/conversations/-/conversations-2.1.0.tgz",
|
||||
"integrity": "sha512-nYoHwFyXcQ2lkQejKReoINknkgFjeIZhyJNMBwHng5UHO/ewHKs1dV2XVaLrKkHTZ1gCZ+dKkjEp26wwHyQeGg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": "^12.20.0 || >=14.13.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"grammy": "^1.20.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@grammyjs/i18n": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@grammyjs/i18n/-/i18n-1.1.2.tgz",
|
||||
|
||||
Reference in New Issue
Block a user