Skip to content

Commit

Permalink
Fix boshurik/telegram-bot-bundle (#1734)
Browse files Browse the repository at this point in the history
* Fix resource file format

* Revert "Fix resource file format"

This reverts commit 435fa87.

* Upgrade boshurik/telegram-bot-bundle recipe for v6.0
  • Loading branch information
Evilkeeper authored Dec 24, 2024
1 parent 96e66e2 commit a9e1a5c
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 a9e1a5c

Please sign in to comment.