diff options
| author | Rapptz <[email protected]> | 2017-02-10 15:42:52 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-10 15:42:52 -0500 |
| commit | ae36008279bc16da923e5db7598d0c02b6d41ac1 (patch) | |
| tree | a9913dc9d0bcc4c4b5108aa153a7a6fc1ce4a1b6 | |
| parent | [commands] Add Command.usage argument to override argument display. (diff) | |
| download | discord.py-ae36008279bc16da923e5db7598d0c02b6d41ac1.tar.xz discord.py-ae36008279bc16da923e5db7598d0c02b6d41ac1.zip | |
Fix NameError in GroupChannel.
| -rw-r--r-- | discord/channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py index af11eea2..f91879f4 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -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 |