🐛 Fix to verify a bot if you add one.

This commit is contained in:
Alphyron 2020-12-16 00:06:13 +01:00
parent 8027c0ff78
commit 3a54c0f9bb

View File

@ -35,6 +35,11 @@ func (j joinCheckerRoutine) Update(botAPI *tgbotapi.BotAPI, update *tgbotapi.Upd
if update.Message.NewChatMembers != nil {
for _, newUser := range *update.Message.NewChatMembers {
if newUser.IsBot {
continue
}
length := 3
tasks := make([][]tgbotapi.InlineKeyboardButton, length)