尝试语音功能

This commit is contained in:
“QAQ” 2025-05-24 11:13:35 +08:00
parent 3bb631114f
commit 8f21c75592
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)
]