diff --git a/kicker/kicker.go b/kicker/kicker.go index 57e79c2..bf2f92d 100644 --- a/kicker/kicker.go +++ b/kicker/kicker.go @@ -38,7 +38,10 @@ func (b *bot) Update(update *echotron.Update) { userLeft(b, update) return } - if update.Message.Text != "" { + if update.Message.Text != "" || update.Message.Caption != "" { + if update.Message.Text == "" { + update.Message.Text = update.Message.Caption + } res, err := b.GetChatMember(update.ChatID(), update.Message.From.ID) if err != nil { log.Println("Kicker 44: can't get user member: ", err)