@alemonjs/onebot 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/lib/index.js +0 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { getConfigValue, useUserHashKey, onProcessor, createResult, ResultCode } from 'alemonjs';
2
2
  import { OneBotClient } from './sdk/wss.js';
3
- import { createServer } from './server/index.js';
4
3
  import { readFileSync } from 'fs';
5
4
 
6
5
  const ImageURLToBuffer = async (url) => {
@@ -166,7 +165,6 @@ var index = definePlatform(() => {
166
165
  console.error('ERROR', event);
167
166
  });
168
167
  global.client = client;
169
- createServer(client);
170
168
  const sendGroup = async (event, val) => {
171
169
  if (val.length < 0)
172
170
  return Promise.all([]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alemonjs/onebot",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "onebot",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",