mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
Add link to commit
This commit is contained in:
parent
f8df2f907d
commit
eab7a8d9ba
5
.github/tg.py
vendored
5
.github/tg.py
vendored
@ -17,11 +17,10 @@ def bot():
|
||||
bot = telegram.Bot(TG_TOKEN, base_url="http://0.0.0.0:8081/bot")
|
||||
bot.send_photo(TG_POST_ID, open('alpha.png', 'rb'), f'''*Libretube {data['sha'][0:7]} // Alpha*
|
||||
|
||||
{data['commit']['message']}
|
||||
[{data['commit']['message']}]({data['commit']['url']})
|
||||
|
||||
Signed-off-by: {data['commit']['author']['name']}
|
||||
[inline URL](http://www.example.com/)
|
||||
''', parse_mode="MarkdownV2")
|
||||
''', parse_mode=telegram.ParseMode.MARKDOWN)
|
||||
bot.send_media_group(TG_POST_ID, [telegram.InputMediaDocument(open('app-x86-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-x86_64-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-armeabi-v7a-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-arm64-v8a-debug.apk', 'rb'))])
|
||||
system('killall -9 python')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user