@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.
- package/lib/index.js +0 -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([]);
|