From dd77c58e2a2eab77097a721f12e18ab3c7560708 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 28 Oct 2024 22:35:46 +0300 Subject: [PATCH] Improve helper Suspended --- pachca.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pachca.go b/pachca.go index f4dcc72..10c2c3f 100644 --- a/pachca.go +++ b/pachca.go @@ -1714,7 +1714,7 @@ func (u Users) Invited() Users { var result Users for _, uu := range u { - if uu.InviteStatus == INVITE_SENT { + if !uu.IsBot && uu.InviteStatus == INVITE_SENT { result = append(result, uu) } }