♻️ Replaced lost hand-maked keyboard on keyboard helper

This commit is contained in:
Maxim Lebedev 2018-01-19 01:56:01 +05:00
parent dcef1ebbf7
commit 57a0ff0985
No known key found for this signature in database
GPG Key ID: F8978F46FF0FFA4F
1 changed files with 1 additions and 5 deletions

6
add.go
View File

@ -13,11 +13,7 @@ func commandAdd(msg *tg.Message, pack bool) {
reply := tg.NewMessage(msg.Chat.ID, T("reply_add_sticker"))
reply.ParseMode = tg.ModeMarkdown
reply.ReplyMarkup = tg.NewReplyKeyboardMarkup(
tg.NewReplyKeyboardRow(
tg.NewReplyKeyboardButton(T("button_cancel")),
),
)
reply.ReplyMarkup = getCancelButton(T)
err = dbChangeUserState(msg.From.ID, stateAddSticker)
errCheck(err)