mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 05:24:51 +00:00
Fix AttributeError raising when receiving ChatParticipantsForbidden
This commit is contained in:
parent
deea521c50
commit
062a6ce6dd
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class GetChatMember(BaseClient):
|
|||
)
|
||||
)
|
||||
|
||||
members = r.full_chat.participants.participants
|
||||
members = getattr(r.full_chat.participants, "participants", [])
|
||||
users = {i.id: i for i in r.users}
|
||||
|
||||
for member in members:
|
||||
|
|
|
|||
Loading…
Reference in a new issue