mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
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:
@@ -0,0 +1,3 @@
|
||||
boshurik_telegram_bot:
|
||||
api:
|
||||
token: "%env(TELEGRAM_BOT_TOKEN)%"
|
||||
@@ -0,0 +1,3 @@
|
||||
boshurik_telegram_bot_routing:
|
||||
resource: "@BoShurikTelegramBotBundle/Resources/config/routing.php"
|
||||
prefix: "/_telegram/%telegram_route_secret%"
|
||||
14
boshurik/telegram-bot-bundle/6.0/manifest.json
Normal file
14
boshurik/telegram-bot-bundle/6.0/manifest.json
Normal 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)%"
|
||||
}
|
||||
}
|
||||
2
boshurik/telegram-bot-bundle/6.0/post-install.txt
Normal file
2
boshurik/telegram-bot-bundle/6.0/post-install.txt
Normal 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</>
|
||||
Reference in New Issue
Block a user