feat: try add reboot

This commit is contained in:
手瓜一十雪
2024-05-12 17:56:57 +08:00
parent 1691276770
commit 63c10dcade
4 changed files with 25 additions and 13 deletions

View File

@@ -14,7 +14,10 @@ export interface InvalidCheckResult {
}
export enum ActionName {
// llonebot
// 以下为扩展napcat扩展
GetRobotUinRange = 'get_robot_uin_range',
SetOnlineStatus = 'set_online_status',
GetFriendsWithCategory = 'get_friends_with_category',
GetGroupIgnoreAddRequest = 'get_group_ignore_add_request',
SetQQAvatar = 'set_qq_avatar',
GetConfig = 'get_config',
@@ -54,10 +57,6 @@ export enum ActionName {
GetRecord = 'get_record',
CleanCache = 'clean_cache',
GetCookies = 'get_cookies',
// 以下为扩展napcat扩展
GetRobotUinRange = 'get_robot_uin_range',
SetOnlineStatus = 'set_online_status',
GetFriendsWithCategory = 'get_friends_with_category',
// 以下为go-cqhttp api
GoCQHTTP_SendGroupNotice = '_send_group_notice',
GoCQHTTP_GetEssenceMsg = 'get_essence_msg_list',

View File

@@ -205,7 +205,7 @@ export class NapCatOnebot11 {
try {
notify.time = Date.now();
const notifyTime = parseInt(notify.seq) / 1000 / 1000;
// log(`群通知时间${notifyTime}`, `LLOneBot启动时间${this.bootTime}`);
// log(`群通知时间${notifyTime}`, `启动时间${this.bootTime}`);
if (notifyTime < this.bootTime) {
continue;
}