This commit is contained in:
2
app.js
2
app.js
@ -53,4 +53,6 @@ let retryCount = 0;
|
|||||||
|
|
||||||
webhook.startListen(port);
|
webhook.startListen(port);
|
||||||
logger(`开始监听端口: ${port}`);
|
logger(`开始监听端口: ${port}`);
|
||||||
|
|
||||||
|
bot.sendMessageToFriend(+process.env.MASTER, '模儿bot已就绪!');
|
||||||
})(process.env.WEB_HOOK_PORT);
|
})(process.env.WEB_HOOK_PORT);
|
||||||
|
@ -43,7 +43,7 @@ function cookInit() {
|
|||||||
'FriendMessage',
|
'FriendMessage',
|
||||||
new Middleware().friendFilter(cookSubs.users).textProcessor().done(dealCommon),
|
new Middleware().friendFilter(cookSubs.users).textProcessor().done(dealCommon),
|
||||||
);
|
);
|
||||||
Bot.sendMessageToFriend(752753679, '测试');
|
Bot.sendMessageToFriend(+process.env.MASTER, '厨娘系统 启动!');
|
||||||
logger('cook 初始化完成')
|
logger('cook 初始化完成')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user