Change update channel to official one

This commit is contained in:
Sam 2022-01-26 19:41:19 +08:00 committed by GitHub
parent 46df9c99f3
commit 338a313807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@ except KeyError:
async def run_every_30_minute():
if not need_update_check:
return
result = await bot(GetFullChannelRequest("UGFnZXJNYWlk")) # noqa
async for msg in bot.iter_messages("UGFnZXJNYWlk"):
result = await bot(GetFullChannelRequest("PGMUPD1")) # noqa
async for msg in bot.iter_messages("PGMUPD1"):
if msg.text:
try:
data_ = loads(msg.text.strip("`"))