Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

setGroupBan等内置API Promise=undefined??? #486

Open
qingshani opened this issue Jan 12, 2023 · 1 comment
Open

setGroupBan等内置API Promise=undefined??? #486

qingshani opened this issue Jan 12, 2023 · 1 comment

Comments

@qingshani
Copy link

Node.js Version

v16

Package(oicq) Version

npm

Login Protocol

None

Bug Description (最好截图说明,你的文字描述可能无法准确传达信息)

code

最后输出的bak是undefined???

可是
https://ltxhhz.github.io/oicq-wiki/api/%E5%BA%94%E7%94%A8%E7%B1%BBapi.html#client-setgroupcard-group-id-user-id-card
这里介绍的是 有返回值 为什么我拿不到????

Log Details (控制台日志,请提供包含前后一段时间内的)

No response

@ltxhhz
Copy link
Contributor

ltxhhz commented Jan 26, 2023

必要的信息你不填,无法判断你用的v1还是v2
image

你看的这个文档是v1的,而且早就停止更新了

https://github.com/ltxhhz/oicq-wiki/blob/c2e43e5569a735b5b6fa95907dc1e9e460e650fb/readme.md?plain=1#L1-L4

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants