From 7b892730f246a8002c6382cd0b79f0f24a9523fb Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Sat, 22 Apr 2023 15:58:23 +0700 Subject: [PATCH] fix massage --- internal/states/ping_bot_state/ping_bot_state.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/states/ping_bot_state/ping_bot_state.go b/internal/states/ping_bot_state/ping_bot_state.go index 3f49699..cc90b6e 100644 --- a/internal/states/ping_bot_state/ping_bot_state.go +++ b/internal/states/ping_bot_state/ping_bot_state.go @@ -2,11 +2,12 @@ package ping_bot_state import ( "net/http" - "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{ @@ -30,7 +31,7 @@ func (s *pingBotState) Do(text string, chatInfo *db.ChatInfo) error { return nil } - msg := "pong" + msg := "Понг" _, _ = s.bot.Send(tgbot.NewMessage(chatInfo.ChatID, msg)) return s.dataBase.SetStatusToChat(chatInfo.ChatID, db.UserStateNone) }