test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
mol
2023-12-14 10:07:44 +08:00
parent eb57171700
commit 83964b678d
4 changed files with 17 additions and 12 deletions

3
app.js
View File

@ -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();