onebots 0.4.45 → 0.4.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -158,6 +158,9 @@ class IcqqAdapter extends adapter_1.Adapter {
158
158
  id: version === 'V11' ? oneBot.V11.transformToInt('message_id', message_id) : message_id,
159
159
  };
160
160
  }
161
+ if (version === 'V11' && result.message_id) {
162
+ result.message_id = oneBot.V11.transformToInt('message_id', result.message_id);
163
+ }
161
164
  return result;
162
165
  }
163
166
  async sendPrivateMessage(uin, version, args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onebots",
3
- "version": "0.4.45",
3
+ "version": "0.4.46",
4
4
  "description": "基于icqq的多例oneBot实现",
5
5
  "engines": {
6
6
  "node": ">=16"