update bot rescan all query
This commit is contained in:
parent
7995fa3e01
commit
87ceefaff4
1
bot.go
1
bot.go
@ -440,6 +440,7 @@ func botMsgRescanAll(m *tb.Message) {
|
||||
p.Query = fmt.Sprintf("SELECT o.id FROM obj o WHERE o.obj_type_id = %d AND o.obj_sub_type_id = %d ORDER BY o.id ASC;", cacheObjType[`msg`], cacheObjSubType[`msg`])
|
||||
}
|
||||
|
||||
log.Printf("botMsgRescanAll : Query : %s\n", p.Query)
|
||||
p.MsgID64 = int64(m.ID)
|
||||
p.ChatID64 = m.Chat.ID
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user