This commit is contained in:
levina 2021-10-28 18:36:43 +07:00 committed by GitHub
parent 96e96dc96b
commit e984bb5c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ async def play(client, m: Message):
reply_markup=keyboard, reply_markup=keyboard,
) )
except Exception as ep: except Exception as ep:
await suhu.edit(f"❌ issues: `{ep}`") await m.reply_text(f"❌ issues: `{ep}`")
else: else:
if len(m.command) < 2: if len(m.command) < 2:
@ -184,7 +184,7 @@ async def play(client, m: Message):
reply_markup=keyboard, reply_markup=keyboard,
) )
except Exception as ep: except Exception as ep:
await suhu.edit(f"❌ issues: `{ep}`") await m.reply_text(f"❌ issues: `{ep}`")
@Client.on_message(command(["stream", f"stream@{BOT_USERNAME}"]) & other_filters) @Client.on_message(command(["stream", f"stream@{BOT_USERNAME}"]) & other_filters)
@ -247,4 +247,4 @@ async def stream(client, m: Message):
reply_markup=keyboard, reply_markup=keyboard,
) )
except Exception as ep: except Exception as ep:
await suhu.edit(f"❌ issues: `{ep}`") await m.reply_text(f"❌ issues: `{ep}`")