mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
Merge pull request #486 from LibreTubeAlpha/master
Add Formatting and Author
This commit is contained in:
commit
0aa12a2fff
10
.github/tg.py
vendored
10
.github/tg.py
vendored
@ -5,17 +5,17 @@ from time import sleep
|
|||||||
|
|
||||||
f = open('commit.json')
|
f = open('commit.json')
|
||||||
data = load(f)
|
data = load(f)
|
||||||
|
f.close()
|
||||||
|
|
||||||
TG_CHAT_ID = "-1001537505605"
|
TG_CHAT_ID = "-1001537505605"
|
||||||
bot = telegram.Bot(TG_TOKEN)
|
bot = telegram.Bot(TG_TOKEN)
|
||||||
|
|
||||||
bot.send_photo(TG_CHAT_ID, open('alpha.png', 'rb'), f'''Libretube {data['sha'][0:7]} // Alpha
|
bot.send_photo(TG_CHAT_ID, open('alpha.png', 'rb'), f'''*Libretube {data['sha'][0:7]} // Alpha*
|
||||||
|
|
||||||
{data['commit']['message']}
|
{data['commit']['message']}
|
||||||
''')
|
|
||||||
|
Signed-off-by: {data['commit']['author']['name']}
|
||||||
|
''', parse_mode=telegram.ParseMode.MARKDOWN)
|
||||||
bot.send_document(TG_CHAT_ID, open('app-arm64-v8a-debug.apk', 'rb'))
|
bot.send_document(TG_CHAT_ID, open('app-arm64-v8a-debug.apk', 'rb'))
|
||||||
bot.send_document(TG_CHAT_ID, open('app-armeabi-v7a-debug.apk', 'rb'))
|
bot.send_document(TG_CHAT_ID, open('app-armeabi-v7a-debug.apk', 'rb'))
|
||||||
bot.send_document(TG_CHAT_ID, open('app-x86_64-debug.apk', 'rb'))
|
bot.send_document(TG_CHAT_ID, open('app-x86_64-debug.apk', 'rb'))
|
||||||
bot.send_document(TG_CHAT_ID, open('app-x86-debug.apk', 'rb'))
|
|
||||||
|
|
||||||
f.close()
|
|
Loading…
x
Reference in New Issue
Block a user