test
This commit is contained in:
parent
74f1e87a7a
commit
3ba8ece00d
4
bot.go
4
bot.go
@ -721,14 +721,14 @@ func botGWithdraw(m *tb.Message) {
|
|||||||
if !m.Private() {
|
if !m.Private() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
p := JobPayloadGWithdraw{
|
p := JobPayloadGWithdraw{
|
||||||
MsgID64: int64(m.ID),
|
MsgID64: int64(m.ID),
|
||||||
ChatID64: m.Chat.ID,
|
ChatID64: m.Chat.ID,
|
||||||
Items: nil,
|
Items: nil,
|
||||||
Status: 0,
|
Status: 0,
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
r := regexp.MustCompile("^(( )*[a-z0-9]+ [0-9]+( )*)+$")
|
r := regexp.MustCompile("^(( )*[a-z0-9]+ [0-9]+( )*)+$")
|
||||||
for _, l := range r.FindAllStringSubmatch(m.Payload, -1) {
|
for _, l := range r.FindAllStringSubmatch(m.Payload, -1) {
|
||||||
fmt.Print("%v\n", l)
|
fmt.Print("%v\n", l)
|
||||||
|
Loading…
Reference in New Issue
Block a user