重大版本调整:gewechat兼容。
This commit is contained in:
@@ -117,7 +117,7 @@ class BeautyLegPlugin(MessagePluginInterface):
|
||||
# 发送图片
|
||||
random_file_path = os.path.abspath(random_file_path)
|
||||
self.LOG.info(f"BeautyLeg.random_file_path: {random_file_path}")
|
||||
result = wcf.send_file(random_file_path, (roomid if roomid else sender))
|
||||
result = self.message_util.send_file(random_file_path, (roomid if roomid else sender))
|
||||
self.LOG.info(f"发送图片结果: {result}")
|
||||
return True, "发送成功"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user