diff --git a/modules/bilibili.py b/modules/bilibili.py index be0d5bb..f6e17db 100644 --- a/modules/bilibili.py +++ b/modules/bilibili.py @@ -21,7 +21,10 @@ from scheduler import scheduler filters.incoming & filters.text & filters.regex(r"av(\d{1,12})|BV(1[A-Za-z0-9]{2}4.1.7[A-Za-z0-9]{2})|b23.tv") - & ~(filters.command(["download", "bilibili_fav"]) & filters.user(bili_auth_user)) + & ~( + filters.command(["download", "bilibili_fav"]) + & (filters.user(bili_auth_user) | filters.chat(bili_auth_chat)) + ) ) async def bili_resolve(_: Client, message: Message): """