Skip to content

Commit

Permalink
Upgrade boshurik/telegram-bot-bundle recipe for v6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Evilkeeper committed Dec 24, 2024
1 parent 67350f3 commit e6d1f7b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
boshurik_telegram_bot:
api:
token: "%env(TELEGRAM_BOT_TOKEN)%"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
boshurik_telegram_bot_routing:
resource: "@BoShurikTelegramBotBundle/Resources/config/routing.php"
prefix: "/_telegram/%telegram_route_secret%"
14 changes: 14 additions & 0 deletions boshurik/telegram-bot-bundle/6.0/manifest.json
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions boshurik/telegram-bot-bundle/6.0/post-install.txt
Original file line number Diff line number Diff line change
@@ -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</>

0 comments on commit e6d1f7b

Please sign in to comment.