This commit is contained in:
3
app.js
3
app.js
@ -2,6 +2,7 @@ import CreateBot from '#root/bot/index.js';
|
||||
import CreateWebhookServer from '#root/http/index.js';
|
||||
import logger from '#root/utils/logger.js';
|
||||
import handlers from './handlers/index.js';
|
||||
import plugins from '#root/plugins/index.js';
|
||||
|
||||
let retryCount = 0;
|
||||
|
||||
@ -32,6 +33,8 @@ let retryCount = 0;
|
||||
});
|
||||
logger('bot 连接成功!!');
|
||||
|
||||
bot.mountPlugin(plugins);
|
||||
|
||||
logger('开启 webhook 服务器');
|
||||
const webhook = new CreateWebhookServer();
|
||||
|
||||
|
Reference in New Issue
Block a user