Update main.go

This commit is contained in:
SmileRex
2025-01-07 14:30:58 +03:00
committed by GitHub
parent e7573abcd0
commit f8d167697e

View File

@@ -8,12 +8,14 @@ import (
tele "gopkg.in/telebot.v4" tele "gopkg.in/telebot.v4"
) )
var yourToken = ""
func main() { func main() {
dataHandler := handlers.Data{} dataHandler := handlers.Data{}
dataHandler.InitDB() dataHandler.InitDB()
pref := tele.Settings{ pref := tele.Settings{
Token: "7757765456:AAFpFXhbi9XCfgRt7P3OT3F_jrBBplubWZA", Token: yourToken,
Poller: &tele.LongPoller{Timeout: 10 * time.Second}, Poller: &tele.LongPoller{Timeout: 10 * time.Second},
} }