Skip to content

Commit

Permalink
add default for admin
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-streltsov committed Oct 20, 2024
1 parent 7544a7e commit 352bd3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ func main() {
}

userStates[chatID] = ""
default:
msg := tgbotapi.NewMessage(chatID, "Неизвестная команда.")
bot.Send(msg)
}
} else {
switch text {
Expand Down

0 comments on commit 352bd3a

Please sign in to comment.