mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-21 22:58:09 +00:00
fix: bsky external parse
This commit is contained in:
parent
13cef4824a
commit
70369ad436
@ -100,15 +100,6 @@ class Timeline:
|
|||||||
parse_mode=ParseMode.HTML,
|
parse_mode=ParseMode.HTML,
|
||||||
reply_markup=Timeline.get_button(post),
|
reply_markup=Timeline.get_button(post),
|
||||||
)
|
)
|
||||||
elif post.external:
|
|
||||||
return await bot.send_document(
|
|
||||||
reply.cid,
|
|
||||||
post.external,
|
|
||||||
caption=text,
|
|
||||||
reply_to_message_id=reply.mid,
|
|
||||||
parse_mode=ParseMode.HTML,
|
|
||||||
reply_markup=Timeline.get_button(post),
|
|
||||||
)
|
|
||||||
elif not post.images:
|
elif not post.images:
|
||||||
return await bot.send_message(
|
return await bot.send_message(
|
||||||
reply.cid,
|
reply.cid,
|
||||||
|
Loading…
Reference in New Issue
Block a user