File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " tanhongit/telegram-bot-github-notify" ,
3- "description" : " A simple Telegram bot to notify Github events" ,
3+ "description" : " A Telegram bot send notify Github events to Telegram channels " ,
44 "keywords" : [
55 " telegram" ,
66 " bot" ,
1313 " github-telegram-bot"
1414 ],
1515 "homepage" : " https://github.com/tanhongit/telegram-bot-github-notify" ,
16+ "license" : " MIT" ,
1617 "require" : {
1718 "ext-json" : " *" ,
1819 "eleirbag89/telegrambotphp" : " ^1.4" ,
3839 ],
3940 "support" : {
4041 "issues" : " https://github.com/tanhongit/telegram-bot-github-notify/issues"
42+ },
43+ "config" : {
44+ "sort-packages" : true ,
45+ "optimize-autoloader" : true
4146 }
4247}
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ public function __invoke(): false|string
1313 {
1414 $ token = config ('telegram-bot.token ' );
1515 $ appUrl = config ('app.url ' );
16-
1716 $ url = "https://api.telegram.org/bot {$ token }/setWebhook?url= {$ appUrl }" ;
1817
1918 return file_get_contents ($ url );
You can’t perform that action at this time.
0 commit comments