diff options
Diffstat (limited to 'discord/channel.py')
| -rw-r--r-- | discord/channel.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py index 89a6051e..8efae546 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -88,6 +88,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): self.position = data['position'] self._fill_overwrites(data) + @asyncio.coroutine def _get_channel(self): return self @@ -262,6 +263,7 @@ class DMChannel(discord.abc.Messageable, Hashable): self.me = me self.id = int(data['id']) + @asyncio.coroutine def _get_channel(self): return self @@ -360,6 +362,7 @@ class GroupChannel(discord.abc.Messageable, Hashable): else: self.owner = utils.find(lambda u: u.id == owner_id, self.recipients) + @asyncio.coroutine def _get_channel(self): return self |