aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/channel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py
index b1446c5b..44b7f2eb 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -106,6 +106,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
self.nsfw = data.get('nsfw', False)
# Does this need coercion into `int`? No idea yet.
self.slowmode_delay = data.get('rate_limit_per_user', 0)
+ self._type = data.get('type', self._type)
self._fill_overwrites(data)
async def _get_channel(self):