🐛 Replace now the correct User when somebody add a another user manually
This commit is contained in:
parent
6eeb3f90ed
commit
7690ecb52e
@ -48,7 +48,7 @@ func (j joinCheckerRoutine) Update(botAPI *tgbotapi.BotAPI, update *tgbotapi.Upd
|
||||
|
||||
markup := tgbotapi.NewInlineKeyboardMarkup(tasks...)
|
||||
|
||||
msg := tgbotapi.NewMessage(update.Message.Chat.ID, message2.ReplaceMessage(group.UserJoinMessage, update.Message.From))
|
||||
msg := tgbotapi.NewMessage(update.Message.Chat.ID, message2.ReplaceMessage(group.UserJoinMessage, &newUser))
|
||||
msg.ParseMode = "Markdown"
|
||||
msg.ReplyMarkup = markup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user