fix: non-admin weren't able to use secret command
This commit is contained in:
parent
121022fb54
commit
ee254ed865
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user