This commit is contained in:
levina 2021-11-02 23:38:45 +07:00 committed by GitHub
parent cfef93ec3c
commit 1cbfad8f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,8 +71,7 @@ async def play(_, m: Message):
papa = popo papa = popo
pepe = papa.id pepe = papa.id
except Exception as e: except Exception as e:
await m.reply_text(f"error:\n\n{e}") return await m.reply_text(f"error:\n\n{e}")
return
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":
@ -278,8 +277,7 @@ async def stream(_, m: Message):
papa = popo papa = popo
pepe = papa.id pepe = papa.id
except Exception as e: except Exception as e:
await m.reply_text(f"error:\n\n{e}") return await m.reply_text(f"error:\n\n{e}")
return
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":