-
这样发送cq码表情是这样吗?发送没有报错,但是接受到消息呢? |
Beta Was this translation helpful? Give feedback.
Answered by
SlimeNull
Mar 19, 2023
Replies: 1 comment
-
一个使用消息匹配拓展插件的示例 [CqMessageMatch("^#face (?<content>.*)")]
public async Task Face(CqGroupMessagePostContext context, string content)
{
if (CqFaceMsg.FromName(content) is CqFaceMsg face)
await ActionSession.SendGroupMessageAsync(context.GroupId, new CqMessage(face));
} 经测试, 是可用的 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SlimeNull
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
一个使用消息匹配拓展插件的示例
经测试, 是可用的