mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-12 23:40:03 +08:00
🐛 修改禁用module (#1688)
* 🐛 修改禁用module * chore(version): Update version to v0.2.3-4cde662 --------- Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
This commit is contained in:
@@ -53,6 +53,7 @@ async def _():
|
||||
_group, _ = await GroupConsole.get_or_create(
|
||||
group_id=group.group_id, channel_id__isnull=True
|
||||
)
|
||||
modules = [f"<{module}" for module in modules]
|
||||
_group.block_task = ",".join(modules) + "," # type: ignore
|
||||
update_list.append(_group)
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user