调整生成图片的逻辑
This commit is contained in:
@@ -220,7 +220,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
||||
try:
|
||||
# 使用唯一文件名并指定完整路径
|
||||
timestamp = int(time.time())
|
||||
output_filename = f"summary_{group_id}_{timestamp}.png"
|
||||
output_filename = f"summary_{timestamp}.png"
|
||||
output_dir = Path(os.path.dirname(os.path.abspath(__file__)), "outputs")
|
||||
|
||||
# 确保输出目录存在
|
||||
|
||||
Reference in New Issue
Block a user