test
This commit is contained in:
parent
9cbeb18a84
commit
0775b445ad
@ -265,7 +265,7 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
|
|||||||
ID: int(c.FromMsgID64),
|
ID: int(c.FromMsgID64),
|
||||||
Chat: &ch,
|
Chat: &ch,
|
||||||
}
|
}
|
||||||
_, err := c.Document.Send(b, &m, nil)
|
_, err := c.Document.Send(b, m, nil)
|
||||||
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : ReplyDocument")
|
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : ReplyDocument")
|
||||||
case commandSendMsg:
|
case commandSendMsg:
|
||||||
if c.ToChatID64 != 0 {
|
if c.ToChatID64 != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user