Fix NameError inside Messageable.get_message
This commit is contained in:
parent
06ca518459
commit
b9b9d8c4d0
@ -624,7 +624,7 @@ class Messageable(metaclass=abc.ABCMeta):
|
|||||||
|
|
||||||
channel = yield from self._get_channel()
|
channel = yield from self._get_channel()
|
||||||
data = yield from self._state.http.get_message(channel.id, id)
|
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
|
@asyncio.coroutine
|
||||||
def delete_messages(self, messages):
|
def delete_messages(self, messages):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user