mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
增加定时指令触发器插件
This commit is contained in:
@@ -155,12 +155,12 @@ func reply(ctx *zero.Ctx, class int, dhash string, comment string) error {
|
||||
}
|
||||
} else {
|
||||
send = func(msg interface{}) int64 {
|
||||
return int64(ctx.SendGroupForwardMessage(ctx.Event.GroupID, message.Message{
|
||||
return ctx.SendGroupForwardMessage(ctx.Event.GroupID, message.Message{
|
||||
ctxext.FakeSenderForwardNode(ctx, append(
|
||||
msg.(message.Message),
|
||||
message.Text(comment))...,
|
||||
),
|
||||
}).Get("message_id").Int())
|
||||
}).Get("message_id").Int()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user