我自己写了一个适配器,上报了如下的session,(消息内容为文本元素的"help")
此时的我的适配器BotMessageEncoder类的visit方法有触发
Session {
data: {},
type: ‘message’,
userId: ‘春风萧落☾.˖٭𓂃’ ,
messageId: ‘91206004505’,
timestamp: 1689862909,
elements: [ Element { type: ‘text’, attrs: [Object], children: } ],
author: {
userId: ‘5b0fe8a3b1ff2’,
avatar: ‘http://r.iirose.com/i/23/6/28/15/1127-SA.jpg’,
username: ‘春风萧落☾.˖٭𓂃’ ,
nickname: ‘春风萧落☾.˖٭𓂃’
},
platform: ‘IIROSE_Bot’,
selfId: ‘60a7b94c223eb’,
subtype: ‘group’,
subsubtype: ‘group’,
guildId: ‘6433d0efdeb20’,
channelId: ‘public’
}
然后当我切换到另一个账号时,提交如下的session(消息内容为文本元素的"help")
Session {
data: {},
type: 'message',
userId: '春风萧落☾.˖٭𓂃' ,
messageId: '814963331092',
timestamp: 1689862782,
elements: [ Element { type: 'text', attrs: [Object], children: [] } ],
author: {
userId: '5b0fe8a3b1ff2',
avatar: 'http://r.iirose.com/i/23/6/28/15/1127-SA.jpg',
username: '春风萧落☾.˖٭𓂃' ,
nickname: '春风萧落☾.˖٭𓂃'
},
platform: 'IIROSE_Bot',
selfId: '5f1131ff6d1a2',
subtype: 'group',
subsubtype: 'group',
guildId: '6433d0efdeb20',
channelId: 'public'
}
但是此时我的适配器的BotMessageEncoder类的visit方法没有触发。