Change Messageable channel getter to be a coroutine.

This commit is contained in:
Rapptz committed 2017-01-03 09:52:11 -05:00
1 parent 98b981848d
commit 7431a127cf
4 files changed
+23 -13

No files matched your search

+1
View File
@@ -117,6 +117,7 @@ class Context(discord.abc.Messageable):
ret = yield from command.callback(*arguments, **kwargs)
return ret
@asyncio.coroutine
def _get_channel(self):
return self.channel