fixes
This commit is contained in:
parent
6d1c960ba6
commit
713e34f43d
@ -70,6 +70,8 @@ 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":
|
||||||
@ -274,6 +276,8 @@ 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":
|
||||||
|
Loading…
Reference in New Issue
Block a user