Compare commits

..

No commits in common. "893bce18057c66ab2b1e5866629c1408b73788cb" and "68f98f2b202b80c62562a3003697cb5219fb2abd" have entirely different histories.

View File

@ -7,7 +7,6 @@ from .back import time_long, volume, isUserExist, insertUser, seconds_to_hms, ml
import pymysql
import matplotlib
import matplotlib.pyplot as plt
import os
from .Tool import get_tool_name
import astrbot.api.message_components as Comp
from astrbot.core.utils.session_waiter import (
@ -403,11 +402,7 @@ class MyPlugin(Star):
@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") # 发送图片
yield event.image_result("path/to/M.png") # 发送图片
@filter.command("部署")