diff --git a/cmd/app/main.go b/cmd/app/main.go index 009cc29..3869689 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -58,7 +58,7 @@ func handleCommand(bc BotController, update tgbotapi.Update, user User) { if user.IsAdmin() { f, exists := adminCommands[command] // f is a function that handles specified command if exists { - f(bc, update) + f(bc, update, user) return } }