删除测试 #49
10
main.py
10
main.py
@ -400,16 +400,6 @@ class MyPlugin(Star):
|
||||
else:
|
||||
yield "获取骚话失败"
|
||||
|
||||
@filter.command("本地目录测试")
|
||||
async def Juno(self, event: AstrMessageEvent):
|
||||
yield event.plain_result("本地目录测试:")
|
||||
file_path = os.path.abspath(__file__)
|
||||
yield event.plain_result(file_path)
|
||||
dir_path = os.path.dirname(file_path)
|
||||
yield event.plain_result(dir_path)
|
||||
yield event.image_result(dir_path + "/M.png") # 发送图片
|
||||
|
||||
|
||||
@filter.command("部署")
|
||||
async def bushutest(self, event: AstrMessageEvent):
|
||||
yield event.plain_result("自动部署成功!!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user