diff --git a/cmd/valera/main.go b/cmd/valera/main.go index f51c4de..cd12db6 100644 --- a/cmd/valera/main.go +++ b/cmd/valera/main.go @@ -20,7 +20,7 @@ import ( ) const ( - version = "v1.8.0" + version = "v1.9.0" ) func main() { diff --git a/internal/states/go_bot_state/go_bot_state.go b/internal/states/go_bot_state/go_bot_state.go index f54b03c..f2b56d0 100644 --- a/internal/states/go_bot_state/go_bot_state.go +++ b/internal/states/go_bot_state/go_bot_state.go @@ -5,11 +5,12 @@ import ( "log" "net/http" "strconv" - "valera/internal/db" - "valera/internal/states" tgbot "github.com/go-telegram-bot-api/telegram-bot-api" "golang.org/x/exp/slices" + + "valera/internal/db" + "valera/internal/states" ) var names = []string{ @@ -19,8 +20,9 @@ var names = []string{ var ( workoutTypes = []string{ - "Отжимания", + "Бицепс", "Пресс", + "Отжимания", "Подтягивания", "Приседания", } @@ -80,7 +82,7 @@ func (s *goBotState) Do(text string, chatInfo *db.ChatInfo) error { if !slices.Contains(names, text) { return nil } - + s.sendGoToChat(chatInfo.ChatID) return nil }