Commit db2911e
Changed files (1)
src
src/handler.py
@@ -313,7 +313,7 @@ async def handle_social_media(
if warn_msg:
await warn_msg.delete()
- if not sent_messages and any(keyword in info["text"] for keyword in ["facebook.com", "threads.com"]):
+ if not sent_messages and any(keyword in info["text"] for keyword in ["facebook.com", "threads.com", "youtube.com", "bilibili.com"]):
if kwargs.get("show_progress"):
warn_msg = await message.reply_text("⚠️该链接不被支持", quote=True)
await asyncio.sleep(10)