test
This commit is contained in:
parent
01df375e0a
commit
41a51fd7f5
4
bot.go
4
bot.go
@ -286,8 +286,8 @@ func botTimer(m *tb.Message) {
|
|||||||
} else {
|
} else {
|
||||||
log.Printf("Timer : Event : %s\n", time.Now().Add(d).Format(time.RFC850))
|
log.Printf("Timer : Event : %s\n", time.Now().Add(d).Format(time.RFC850))
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
Type: commandSendMsg,
|
Type: commandSendMsg,
|
||||||
Text: "", r.ReplaceAllString(m.Payload, "${Msg}"),
|
Text: r.ReplaceAllString(m.Payload, "${Msg}"),
|
||||||
FromUserID64: m.Chat.ID,
|
FromUserID64: m.Chat.ID,
|
||||||
ToChatID64: userID64ChtWrsBot,
|
ToChatID64: userID64ChtWrsBot,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user