修复开启/关闭全部功能时帮助图片未重绘

This commit is contained in:
Cinte 2022-05-30 20:43:48 +08:00 committed by GitHub
parent fbdb8758a3
commit d44f7633dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,8 @@ async def change_group_switch(cmd: str, group_id: int, is_super: bool = False):
group_manager.unblock_plugin(f, group_id)
else:
group_manager.block_plugin(f, group_id)
if group_help_file.exists():
group_help_file.unlink()
return f"{status} 全部功能!"
if cmd in [task_data[x] for x in task_data.keys()]:
type_ = "task"