puppet-supports icon indicating copy to clipboard operation
puppet-supports copied to clipboard

[BUG]WorkPro:

Open Anifled opened this issue 1 year ago • 6 comments

你好,我们在使用艾特功能 27200c49413af1ed31ea42ba553013c 请查看截图中的功能函数。 我们发现,输出的消息的艾特会自动加到最前面,然后我们后面的文字中带@xx的文字会自动抹除掉。请问这个如何解决

Anifled avatar Sep 25 '24 06:09 Anifled

是的,这个功能目前就是这个样子。如果需要在句子中间用,需要用 stringTemplate 发送:

// suppose we have contacts: contact1, contact2

await room.say`hello and welcome ${contact1} ${contact2}`

hcfw007 avatar Sep 25 '24 07:09 hcfw007

你好,好像没有艾特效果

Anifled avatar Sep 25 '24 07:09 Anifled

d72f11a188017a02ecec4ed82588112 发出来的消息是 hello and welcome Contact

Anifled avatar Sep 25 '24 07:09 Anifled

不是

room.say(`hello from ${contact}`)

room.say`hello from ${contact}`

没有括号。

hcfw007 avatar Sep 26 '24 05:09 hcfw007

不是

room.say(`hello from ${contact}`)

room.say`hello from ${contact}`

没有括号。

可以@所有人吗

IQZZ020501 avatar Nov 05 '24 08:11 IQZZ020501

可以的

hcfw007 avatar Mar 26 '25 10:03 hcfw007