fix: print admin id instead of its address
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
Akulij 2025-03-25 12:01:10 +08:00
parent f2aba99ce7
commit 6c836dafe3

View File

@ -27,7 +27,7 @@ func GetBotController() BotController {
cfg := config.GetConfig()
fmt.Printf("Token value: '%v'\n", cfg.BotToken)
fmt.Printf("Admin password: '%v'\n", cfg.AdminPass)
fmt.Printf("Admin ID: '%v'\n", cfg.AdminID)
fmt.Printf("Admin ID: '%v'\n", *cfg.AdminID)
bot, err := tgbotapi.NewBotAPI(cfg.BotToken)
if err != nil {