Skip to main content

Pallas-Bot 官方扩展:牛牛唱歌(包内仍含酒后 chat 旧路径)。

Project description

AI 媒体

牛牛唱歌 pallas-plugin-ai-media

提供牛牛唱歌能力(翻唱 / 点歌);包内仍含酒后聊天旧路径,依赖 Pallas-Bot-AI。

官方插件 控制台插件商店 安装命令 PyPI 版本

安装方式

需已安装 Pallas-Bot ≥ 4.0,并部署 Pallas-Bot-AI

推荐直接在控制台插件商店安装,或在本体项目中执行:

uv run pallas ext install pallas-plugin-ai-media

也可单独安装本包:

uv pip install pallas-plugin-ai-media

酒后聊天:本体 llm_chat 已内置同等能力。本包仍保留 chat 子插件作为旧版 AI 路径兼容;若本包的 chat 已加载,本体会自动让路,避免重复回复。

怎么使用

牛牛唱歌(sing)

AI 翻唱、续唱、点歌与查歌名;依赖 AI 仓与本体 callback 回传音频。

口令 / 触发 场景 说明
牛牛唱歌 歌曲名 [key=±N] 群内 AI 翻唱
牛牛继续唱 / 牛牛接着唱 群内 续唱上一首
牛牛点歌 歌曲名 群内 网易云原曲
牛牛什么歌 / 牛牛哪首歌 群内 查询当前曲目
网易云登录 / 网易云登出 私聊 超管维护 Cookie
命令 ID 默认等级
sing.ncm_login 仅超管
sing.ncm_logout 仅超管

详细用法、限制条件和可用范围以帮助为主。

酒后聊天(chat,旧版路径)

牛牛醉酒时 AI 对话(与本体清醒 @ 智能对话独立触发条件)。

触发 场景 说明
@牛牛 / 牛牛 + 文本 群内 醉酒时 AI 回复

未安装本包时,同等酒后能力由本体 llm_chat 提供。

配置项

可在控制台对应插件页中修改。

唱歌与酒后聊天配置分别位于:src/pallas_plugin_sing/config.pysrc/pallas_plugin_chat/config.py

排障

现象 处理
唱歌无语音 查 AI 服务、/callback 可达;牛牛连通 测唱歌网关
聊天无回复 确认已喝酒、总闸 / chat_enable、Provider 或 AI 可达

实现

源码位置:

实现要点:

  • sing 负责媒体任务编排、回调收口与网易云相关命令。
  • chat 保留为旧版扩展路径;与本体 llm_chat 醉酒入口二选一生效(扩展已加载时优先扩展)。

相关链接

说明 链接
唱歌 文档站 · sing
酒后聊天 文档站 · chat
智能对话 文档站 · llm_chat
Pallas-Bot-AI GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pallas_plugin_ai_media-4.0.20.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pallas_plugin_ai_media-4.0.20-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file pallas_plugin_ai_media-4.0.20.tar.gz.

File metadata

  • Download URL: pallas_plugin_ai_media-4.0.20.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pallas_plugin_ai_media-4.0.20.tar.gz
Algorithm Hash digest
SHA256 ee80d94dd5790eabae1b1e27d38d7286c81398cfedec3d90a54bb335dd47eaa6
MD5 9ea5f6b1cafb18aa1f667aab840c8153
BLAKE2b-256 56c1e5593aacfef656364871d68a7de8e6714b70609c7d51b4bf65c1b4c17e07

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_ai_media-4.0.20.tar.gz:

Publisher: publish-pypi.yml on TogetsuDo/pallas-plugin-ai-media

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pallas_plugin_ai_media-4.0.20-py3-none-any.whl.

File metadata

File hashes

Hashes for pallas_plugin_ai_media-4.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 082f5c785ca8725a17a0b4bbdcc93a563d0d045a4ea3eb1e542282e48dcb0777
MD5 d62c5a58a8ead007b6bf6b66d7b24bd0
BLAKE2b-256 95a78c84d2478a3411f05dbda473b2805564924989e2df4ae72757c7c00f1e89

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_ai_media-4.0.20-py3-none-any.whl:

Publisher: publish-pypi.yml on TogetsuDo/pallas-plugin-ai-media

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page