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

怎么发送艾特全体成员的消息 #333

Closed
left0ver opened this issue Apr 2, 2022 · 6 comments
Closed

怎么发送艾特全体成员的消息 #333

left0ver opened this issue Apr 2, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@left0ver
Copy link

left0ver commented Apr 2, 2022

Node.js Version

14.17.5

Package(oicq) Version

lastest

Login Protocol

No response

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

我想让机器人自动地发送艾特全体成员的消息,我尝试使用segment来创建一个at全体消息 segment.at("all","hhh") ,并发送,但是并没有效果,有没有人能帮助我
group.getAtAllRemainder().then(res=>{
console.log(res);
group.sendMsg(segment.at("all","hhh"))
})

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

No response

@takayama-lily
Copy link
Owner

提供一下日志

@left0ver

This comment was marked as abuse.

@left0ver

This comment was marked as abuse.

@takayama-lily takayama-lily added the bug Something isn't working label Apr 5, 2022
@takayama-lily
Copy link
Owner

takayama-lily commented Apr 5, 2022

最新版本segment.at@全体成员存在bug
修复之前可使用{type:"at",qq:"all"}

@left0ver
Copy link
Author

left0ver commented Apr 6, 2022

好像又有bug了,我使用你说的那种方法,加了text属性,但是只有@全体成员,并发送不了实际的内容
G1MCUT2I)Z8P$8P}_SK9O](https://user-images.githubusercontent.com/89240290/161873130-2c1b0cfd-614b-4fbe-9e8a-532baed0eb6a.png) ![Q@FBOG9@`0Y9{5@V1Z%B$3

@left0ver
Copy link
Author

left0ver commented Apr 6, 2022

PTK_`SK UZQNJ496JQRH}S2

takayama-lily added a commit that referenced this issue Apr 9, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants