Compare commits
No commits in common. "fa5f1f5ad03a78723658f52ae7b1bd17fbb3ab22" and "71ee4c7bf8f3a5d02085f324ede7ea31612972b6" have entirely different histories.
fa5f1f5ad0
...
71ee4c7bf8
9
main.py
9
main.py
@ -399,15 +399,6 @@ class MyPlugin(Star):
|
|||||||
else:
|
else:
|
||||||
yield "获取骚话失败"
|
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("部署")
|
@filter.command("部署")
|
||||||
async def bushutest(self, event: AstrMessageEvent):
|
async def bushutest(self, event: AstrMessageEvent):
|
||||||
yield event.plain_result("自动部署成功!!")
|
yield event.plain_result("自动部署成功!!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user