This commit is contained in:
shoopea 2019-10-11 15:57:15 +08:00
parent 85920cc59a
commit a66c68a763
2 changed files with 1 additions and 2 deletions

1
bot.go
View File

@ -736,6 +736,7 @@ func botVault(m *tb.Message, itemTypeList []int64) {
p.ItemTypeListID64 = append(p.ItemTypeListID64, itemTypeList...)
b, _ := json.Marshal(p)
log.Printf("botVault:\n%s\n", string(b))
t := time.Now().UTC()
_, err := createJob(objSubTypeJobVaultStatus, objJobPriority, int64(m.Sender.ID), 0, t, b)

View File

@ -90,8 +90,6 @@ func main() {
err := gcfg.ReadFileInto(&cfg, *config)
failOnError(err, "Parsing config")
log.Printf("DepositChat : %d\n", cfg.Bot.Depositchat)
// Connecting to DB
switch cfg.SQL.Driver {
case "mysql":