fix: double send of more_info
This commit is contained in:
parent
bf1d7df88f
commit
201437d6c2
@ -154,7 +154,6 @@ func handleCallbackQuery(bc BotController, update tgbotapi.Update) {
|
||||
user := bc.GetUser(update.CallbackQuery.From.ID)
|
||||
|
||||
if update.CallbackQuery.Data == "more_info" {
|
||||
sendMessage(bc, update.FromChat().ID, bc.GetBotContent("more_info_text"))
|
||||
msg := tgbotapi.NewMessage(update.FromChat().ID, bc.GetBotContent("more_info_text"))
|
||||
var entities []tgbotapi.MessageEntity
|
||||
meta, _ := bc.GetBotContentMetadata("more_info_text")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user