fix: print admin id instead of its address
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
f2aba99ce7
commit
6c836dafe3
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user