diff options
| author | Rapptz <[email protected]> | 2017-01-03 20:24:42 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-03 20:24:42 -0500 |
| commit | 94655c77c0d681f2ed1b4dbff982adce1718970b (patch) | |
| tree | ad4e8d3ded77f6a7c987c3dff00c28b862bb108f /discord/abc.py | |
| parent | Fix NameError when dealing with permission resolution. (diff) | |
| download | discord.py-94655c77c0d681f2ed1b4dbff982adce1718970b.tar.xz discord.py-94655c77c0d681f2ed1b4dbff982adce1718970b.zip | |
Fix Messageable.typing context manager.
Diffstat (limited to 'discord/abc.py')
| -rw-r--r-- | discord/abc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py index 7814772a..5711ef70 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -592,8 +592,7 @@ class Messageable(metaclass=abc.ABCMeta): await channel.send_message('done!') """ - channel = yield from self._get_channel() - return Typing(channel) + return Typing(self) @asyncio.coroutine def get_message(self, id): |