fix massage
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
edfdf4affb
commit
7b892730f2
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue