add rough guild support

This commit is contained in:
fumiama
2022-01-17 23:04:32 +08:00
parent 461dc925af
commit 8256658ac2
14 changed files with 33 additions and 35 deletions

View File

@@ -38,7 +38,7 @@ func init() { // 插件主体
reply := aireply.Talk(ctx.ExtractPlainText())
// 回复
time.Sleep(time.Second * 1)
if ctx.Event.MessageType == "group" {
if zero.OnlyPublic(ctx) {
reply = append(reply, message.Reply(ctx.Event.MessageID))
ctx.Send(reply)
return