Recieving messages via the external link

This commit is contained in:
2023-06-17 22:27:14 +00:00
parent b252d5e62e
commit 77d41bb945
11 changed files with 164 additions and 15 deletions

View File

@@ -59,7 +59,7 @@ func main() {
log.Fatal("Failed to migrate db: ", err)
}
bot := app.NewBot()
bot := app.NewBot(db)
if err := bot.Initialize(cfg); err != nil {
log.Fatal("Failed to initialize: ", err)