This commit is contained in:
shoopea 2019-05-02 18:16:05 +08:00
parent 70dc637489
commit 3a49004f19

View File

@ -76,6 +76,11 @@ func main() {
log.Println("SQL connection initialized")
}
if (*initdb) {
initDB()
}
// Registering bot
b, err := tb.NewBot(tb.Settings{
Token: cfg.Telegram.Token,