mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-23 04:09:59 +00:00
[feat] 添加用户群名片配置选项及获取方法
This commit is contained in:
@@ -197,6 +197,10 @@ class ConfigManager:
|
||||
self.config["enabled_groups"] = enabled_groups
|
||||
self.config.save_config()
|
||||
|
||||
def get_enable_user_card(self) -> bool:
|
||||
"""获取是否使用用户群名片"""
|
||||
return self.config.get("enable_user_card", False)
|
||||
|
||||
@property
|
||||
def pyppeteer_available(self) -> bool:
|
||||
"""检查pyppeteer是否可用"""
|
||||
|
||||
Reference in New Issue
Block a user