Fix NameError in GroupChannel.

This commit is contained in:
Rapptz 2017-02-10 15:42:52 -05:00
parent 84dfd7b3e3
commit ae36008279

View File

@ -369,7 +369,7 @@ class GroupChannel(discord.abc.Messageable, Hashable):
self.name = data.get('name')
try:
self.recipients = [state.store_user(u) for u in data['recipients']]
self.recipients = [self._state.store_user(u) for u in data['recipients']]
except KeyError:
pass