mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 01:16:50 +08:00
fix(notification): type DingTalk command hook config
This commit is contained in:
@@ -44,7 +44,7 @@ class DingTalkModule(_MessageChannelModuleBase[DingTalk]):
|
||||
"""钉钉启用状态由通知渠道配置统一管理。"""
|
||||
return None
|
||||
|
||||
def _commands_enabled(self, config: Optional[dict]) -> bool:
|
||||
def _commands_enabled(self, config: Optional[dict[str, object]]) -> bool:
|
||||
"""
|
||||
钉钉自定义机器人没有命令注册或删除 API,跳过基类命令处理。
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user