This commit is contained in:
levina 2021-11-02 23:48:19 +07:00 committed by GitHub
parent 53e9871b2f
commit 55f487976d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,6 @@ async def play(_, m: Message):
popo = await bot.get_me() popo = await bot.get_me()
papa = popo papa = popo
pepe = papa.id pepe = papa.id
except Exception as e:
return await m.reply_text(f"error:\n\n{e}")
chat_title = m.chat.title chat_title = m.chat.title
a = await bot.get_chat_member(m.chat.id, pepe) a = await bot.get_chat_member(m.chat.id, pepe)
if a.status != "administrator": if a.status != "administrator":
@ -276,8 +274,6 @@ async def stream(_, m: Message):
popo = await bot.get_me() popo = await bot.get_me()
papa = popo papa = popo
pepe = papa.id pepe = papa.id
except Exception as e:
return await m.reply_text(f"error:\n\n{e}")
chat_title = m.chat.title chat_title = m.chat.title
a = await bot.get_chat_member(m.chat.id, pepe) a = await bot.get_chat_member(m.chat.id, pepe)
if a.status != "administrator": if a.status != "administrator":