test
This commit is contained in:
parent
48cef9ba94
commit
0dd600a6cc
@ -254,7 +254,7 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
|
|||||||
for c := range cmds {
|
for c := range cmds {
|
||||||
j, err := json.Marshal(c)
|
j, err := json.Marshal(c)
|
||||||
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : Marshal(c)")
|
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : Marshal(c)")
|
||||||
log.Printf("TGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(j))
|
//log.Printf("TGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(j))
|
||||||
opt := tb.SendOptions{}
|
opt := tb.SendOptions{}
|
||||||
switch c.ParseMode {
|
switch c.ParseMode {
|
||||||
case cmdParseModePlain:
|
case cmdParseModePlain:
|
||||||
|
Loading…
Reference in New Issue
Block a user