From 3ba8ece00da4d346b3b91c76ebe98573433cd5ed Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 2 Oct 2019 12:47:17 +0800 Subject: [PATCH] test --- bot.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bot.go b/bot.go index 6015d50..baea3a6 100644 --- a/bot.go +++ b/bot.go @@ -721,14 +721,14 @@ func botGWithdraw(m *tb.Message) { if !m.Private() { return } - - p := JobPayloadGWithdraw{ - MsgID64: int64(m.ID), - ChatID64: m.Chat.ID, - Items: nil, - Status: 0, - } - + /* + p := JobPayloadGWithdraw{ + MsgID64: int64(m.ID), + ChatID64: m.Chat.ID, + Items: nil, + Status: 0, + } + */ r := regexp.MustCompile("^(( )*[a-z0-9]+ [0-9]+( )*)+$") for _, l := range r.FindAllStringSubmatch(m.Payload, -1) { fmt.Print("%v\n", l)