fix: non-admin weren't able to use secret command

This commit is contained in:
Akulij 2025-03-27 22:32:10 +08:00
parent 121022fb54
commit ee254ed865

View File

@ -67,6 +67,8 @@ func handleCommand(bc BotController, update tgbotapi.Update, user User) {
switch command { switch command {
case "/start": case "/start":
handleStartCommand(bc, update, user) handleStartCommand(bc, update, user)
case "/secret":
handleSecretCommand(bc, update, user)
} }
} }