Recipe for boshurik/telegram-bot-bundle

This commit is contained in:
BoShurik
2019-10-16 16:35:38 +03:00
parent 1c443315d6
commit e2905b1f3a
4 changed files with 26 additions and 0 deletions
@@ -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.yml"
prefix: "/_telegram/%telegram_route_secret%"
@@ -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)%"
}
}
@@ -0,0 +1,6 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next for TelegramBotBundle </>
<bg=blue;fg=white> </>
* <fg=blue>Set</> <comment>TELEGRAM_BOT_TOKEN</> in your environment
* <fg=blue>Read</> the documentation at <comment>https://github.com/BoShurik/TelegramBotBundle</>