替换CustomNode为ctxext的封装

This commit is contained in:
fumiama
2022-03-01 17:29:19 +08:00
parent 4781bc8eb7
commit 6262aab6bd
10 changed files with 28 additions and 76 deletions

View File

@@ -77,14 +77,7 @@ func init() {
continue
}
}
sk = append(
sk,
message.CustomNode(
zero.BotConfig.NickName[0],
ctx.Event.SelfID,
[]message.MessageSegment{message.Image("file:///" + cachefile)}, // 图片
),
)
sk = append(sk, ctxext.FakeSenderForwardNode(ctx, message.Image("file:///"+cachefile)))
}
if id := ctx.SendGroupForwardMessage(
ctx.Event.GroupID,