Fix Formatting

This commit is contained in:
XelXen 2022-06-12 23:20:06 +05:30 committed by GitHub
parent 98413efde0
commit 4c1c8592ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
.github/tg.py vendored
View File

@ -6,7 +6,7 @@ from time import sleep
f = open('commit.json') f = open('commit.json')
data = load(f) data = load(f)
title = f'''*Libretube {data['sha'][0:7]} // Alpha* title = f'''*bold \Libretube {data['sha'][0:7]} // Alpha*
{data['commit']['message']} {data['commit']['message']}
@ -18,7 +18,7 @@ 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'), title, telegram.ParseMode.MARKDOWN) bot.send_photo(TG_CHAT_ID, open('alpha.png', 'rb'), title, telegram.ParseMode.MarkdownV2)
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'))