From ee254ed865443cfcbf1802a7411e0f7677850160 Mon Sep 17 00:00:00 2001 From: Akulij Date: Thu, 27 Mar 2025 22:32:10 +0800 Subject: [PATCH] fix: non-admin weren't able to use secret command --- cmd/app/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/app/main.go b/cmd/app/main.go index 144a65d..db40f15 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -67,6 +67,8 @@ func handleCommand(bc BotController, update tgbotapi.Update, user User) { switch command { case "/start": handleStartCommand(bc, update, user) + case "/secret": + handleSecretCommand(bc, update, user) } }