diff options
| author | Rapptz <[email protected]> | 2017-01-11 20:26:06 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-11 20:26:06 -0500 |
| commit | b9b9d8c4d0391ac74c70895713c095f39a9d5b42 (patch) | |
| tree | bc0906b2fad1580d2cd344345127ec1394ec051b | |
| parent | Rename NoMoreMessages to NoMoreItems. (diff) | |
| download | discord.py-b9b9d8c4d0391ac74c70895713c095f39a9d5b42.tar.xz discord.py-b9b9d8c4d0391ac74c70895713c095f39a9d5b42.zip | |
Fix NameError inside Messageable.get_message
| -rw-r--r-- | discord/abc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py index 4cd288d1..4d95eda8 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -624,7 +624,7 @@ class Messageable(metaclass=abc.ABCMeta): channel = yield from self._get_channel() data = yield from self._state.http.get_message(channel.id, id) - return state.create_message(channel=channel, data=data) + return self._state.create_message(channel=channel, data=data) @asyncio.coroutine def delete_messages(self, messages): |