test
This commit is contained in:
parent
74f1e87a7a
commit
3ba8ece00d
16
bot.go
16
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)
|
||||
|
Loading…
Reference in New Issue
Block a user