调整xml内容
This commit is contained in:
@@ -16,6 +16,7 @@ from utils.robot_cmd.robot_command import Feature, PermissionStatus, GroupBotMan
|
||||
import mysql.connector.pooling
|
||||
|
||||
from wechat_ipad import WechatAPIClient
|
||||
from wechat_ipad.models.message import WxMessage
|
||||
|
||||
|
||||
class PointTradePlugin(MessagePluginInterface):
|
||||
@@ -161,8 +162,9 @@ class PointTradePlugin(MessagePluginInterface):
|
||||
command = content.split(" ")
|
||||
sender = message.get("sender")
|
||||
roomid = message.get("roomid", "")
|
||||
xml = message.get("xml", "")
|
||||
|
||||
msg: WxMessage = message.get("full_wx_msg")
|
||||
xml = msg.msg_source
|
||||
# 检查命令格式
|
||||
if len(command) < 3:
|
||||
client_msg_id, create_time, new_msg_id = await self.bot.send_at_message((roomid if roomid else sender),
|
||||
|
||||
Reference in New Issue
Block a user