This commit is contained in:
shoopea 2020-01-16 23:53:54 +08:00
parent a2b294b708
commit 9734f69bbd
2 changed files with 3 additions and 1 deletions

2
job.go
View File

@ -1384,7 +1384,7 @@ func jobGWithdraw(j Job) {
doneTab map[int64]int64 doneTab map[int64]int64
) )
log.Printf("jobGWithdraw[%d] : test %d / %d.\n", j.ID64, botUserID64, bot.Me.ID) log.Printf("jobGWithdraw[%d] : test %d / %p.\n", j.ID64, botUserID64, &bot)
log.Printf("jobGWithdraw[%d] : Starting.\n", j.ID64) log.Printf("jobGWithdraw[%d] : Starting.\n", j.ID64)

View File

@ -105,6 +105,8 @@ func main() {
}) })
botUserID64 = int64(bot.Me.ID) botUserID64 = int64(bot.Me.ID)
log.Printf("Test %p.\n", &bot)
failOnError(err, "Registering bot") failOnError(err, "Registering bot")
log.Println("Bot registered") log.Println("Bot registered")