如何正确地发送戳一戳CQCode #77
Unanswered
DreamPrism
asked this question in
Q&A
Replies: 1 comment
-
无法复现 测试代码 [SoraCommand(CommandExpressions = new[] { "1" },
SourceType = SourceFlag.Group,
Priority = 0)]
public static async ValueTask TestCommand1(GroupMessageEventArgs eventArgs)
{
eventArgs.IsContinueEventChain = false;
MessageBody message = new MessageBody
{
SoraSegment.Poke(eventArgs.Sender)
};
await eventArgs.Reply(message);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如题,为什么用SoraSegment.Poke生成的戳一戳CQ码在构造MessageBody的时候会变成null啊

Beta Was this translation helpful? Give feedback.
All reactions