✨ 部分功能适配QQ BOT (#1701)

This commit is contained in:
HibiKier
2024-10-18 18:57:55 +08:00
committed by GitHub
parent 7567bfb732
commit 3d3a2a5f7f
29 changed files with 528 additions and 310 deletions
@@ -16,7 +16,6 @@ from zhenxun.utils.common_utils import CommonUtils
class BroadcastManage:
@classmethod
async def send(
cls, bot: Bot, message: UniMsg, session: EventSession
@@ -43,8 +42,9 @@ class BroadcastManage:
for group in group_list:
try:
if not await CommonUtils.task_is_block(
group.group_id,
bot,
"broadcast", # group.channel_id
group.group_id,
):
target = PlatformUtils.get_target(
bot, None, group.channel_id or group.group_id