From d0db04b093632e63d6e20d8e51d4b985351e8665 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Mon, 11 Oct 2021 11:20:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=20QQ=E8=BD=AC=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/command.go b/models/command.go index e8e3e02..eadc346 100644 --- a/models/command.go +++ b/models/command.go @@ -385,8 +385,10 @@ var codeSignals = []CodeSignal{ Admin: true, Handle: func(sender *Sender) interface{} { qq := Int(sender.Contents[0]) + logs.Info(qq) if len(sender.Contents) > 1 { sender.Contents = sender.Contents[1:] + logs.Info(sender.Contents) AdddCoin(qq, Int(sender.Contents[1])) sender.Reply(fmt.Sprintf("你获得%d枚互助值。", Int(sender.Contents[1]))) }