Merge pull request '尝试短的语音功能' (#45) from QAQ into master

Reviewed-on: saipo/astrbot_plugin_dajiao#45
This commit is contained in:
QAQ 2025-05-24 11:14:06 +08:00
commit 22c2029103
3 changed files with 2 additions and 2 deletions

BIN
Get.wav Normal file

Binary file not shown.

BIN
Juno.wav

Binary file not shown.

View File

@ -399,9 +399,9 @@ class MyPlugin(Star):
else:
yield "获取骚话失败"
@filter.command("朱诺")
@filter.command("语音测试")
async def Juno(self, event: AstrMessageEvent):
path = "./Juno.wav" # 暂时只接受 wav 格式,其他格式请自行转换
path = "./Get.wav" # 暂时只接受 wav 格式,其他格式请自行转换
chain = [
Comp.Record(file=path, url=path)
]