Fix boshurik/telegram-bot-bundle (#1734)

* Fix resource file format

* Revert "Fix resource file format"

This reverts commit 435fa87ada.

* Upgrade boshurik/telegram-bot-bundle recipe for v6.0
This commit is contained in:
Evilkeeper
2024-12-25 02:06:08 +07:00
committed by GitHub
parent 96e66e2784
commit a9e1a5c5d6
4 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
boshurik_telegram_bot:
api:
token: "%env(TELEGRAM_BOT_TOKEN)%"

View File

@@ -0,0 +1,3 @@
boshurik_telegram_bot_routing:
resource: "@BoShurikTelegramBotBundle/Resources/config/routing.php"
prefix: "/_telegram/%telegram_route_secret%"

View File

@@ -0,0 +1,14 @@
{
"bundles": {
"BoShurik\\TelegramBotBundle\\BoShurikTelegramBotBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"TELEGRAM_BOT_TOKEN": "bot-token"
},
"container": {
"telegram_route_secret": "%env(TELEGRAM_BOT_TOKEN)%"
}
}

View File

@@ -0,0 +1,2 @@
* <fg=blue>Set</> <comment>TELEGRAM_BOT_TOKEN</> in your environment
* <fg=blue>Read</> the documentation at <comment>https://github.com/BoShurik/TelegramBotBundle</>