Skip to content

Commit

Permalink
Merge branch 'main' of github.com:FerrisChat/ferriswheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptex-github committed Aug 23, 2021
2 parents f0eb29c + f50d795 commit 87ad774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ferris/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ def _process_data(self, data: Data, /) -> None:

self._channels: Dict[int, Channel] = {}

for c in data.get('channels', []):
for c in data.get('channels') or []:
channel = Channel(self._connection, c)
self._channels[channel.id] = channel

self._members: Dict[int, Member] = {}

for m in data.get('members', []):
for m in data.get('members') or []:
member = Member(self._connection, m)
self._members[member.id] = member

Expand Down

0 comments on commit 87ad774

Please sign in to comment.