This commit is contained in:
shoopea 2019-10-02 12:47:17 +08:00
parent 74f1e87a7a
commit 3ba8ece00d

16
bot.go
View File

@ -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)