update
This commit is contained in:
@@ -218,4 +218,7 @@ func init() {
|
||||
core.Pushs["qq"] = func(i int, s string) {
|
||||
bot.SendPrivateMessage(int64(i), int64(qq.GetInt("groupCode")), &message.SendingMessage{Elements: []message.IMessageElement{&message.TextElement{Content: s}}})
|
||||
}
|
||||
core.GroupPushs["qq"] = func(i, j int, s string) {
|
||||
bot.SendGroupMessage(int64(i), &message.SendingMessage{Elements: []message.IMessageElement{&message.AtElement{Target: int64(j)}, &message.TextElement{Content: s}}})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user