mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
chore: v3.29.4
This commit is contained in:
parent
2245d0d3de
commit
e912911dd8
@ -4,7 +4,7 @@
|
||||
"name": "LLOneBot",
|
||||
"slug": "LLOneBot",
|
||||
"description": "实现 OneBot 11 协议,用于 QQ 机器人开发",
|
||||
"version": "3.29.3",
|
||||
"version": "3.29.4",
|
||||
"icon": "./icon.webp",
|
||||
"authors": [
|
||||
{
|
||||
@ -30,4 +30,4 @@
|
||||
"main": "./main/main.cjs",
|
||||
"preload": "./preload/preload.cjs"
|
||||
}
|
||||
}
|
||||
}
|
@ -5,7 +5,6 @@ import BaseAction from '../BaseAction'
|
||||
import { ActionName } from '../types'
|
||||
import { NTQQUserApi, WebApi } from '@/ntqqapi/api'
|
||||
import { isNull } from '@/common/utils/helper'
|
||||
import { log } from '../../../common/utils/log'
|
||||
|
||||
interface Payload {
|
||||
group_id: number | string
|
||||
@ -29,7 +28,6 @@ class GetGroupMemberInfo extends BaseAction<Payload, OB11GroupMember> {
|
||||
if (self?.role === 3 || self?.role === 4) {
|
||||
const webGroupMembers = await WebApi.getGroupMembers(payload.group_id.toString())
|
||||
const target = webGroupMembers.find(e => e?.uin && e.uin === ret.user_id)
|
||||
log(target)
|
||||
if (target) {
|
||||
ret.join_time = target.join_time
|
||||
ret.last_sent_time = target.last_speak_time
|
||||
|
@ -1 +1 @@
|
||||
export const version = '3.29.3'
|
||||
export const version = '3.29.4'
|
||||
|
Loading…
x
Reference in New Issue
Block a user