diff --git a/Juno.wav b/Juno.wav new file mode 100644 index 0000000..d218579 Binary files /dev/null and b/Juno.wav differ diff --git a/main.py b/main.py index af71d81..0b836fa 100644 --- a/main.py +++ b/main.py @@ -399,6 +399,15 @@ class MyPlugin(Star): else: yield "获取骚话失败" + @filter.command("朱诺") + async def Juno(self, event: AstrMessageEvent): + path = "./Juno.wav" # 暂时只接受 wav 格式,其他格式请自行转换 + chain = [ + Comp.Record(file=path, url=path) + ] + yield event.chain_result(chain) + + @filter.command("部署") async def bushutest(self, event: AstrMessageEvent): yield event.plain_result("自动部署成功!!")