diff options
| -rw-r--r-- | discord/channel.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py index 28227178..a3e433e0 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -40,6 +40,9 @@ class Channel(object): .. attribute:: id The channel ID. + .. attribute:: topic + + The channel's topic. None if it doesn't exist. .. attribute:: is_private ``True`` if the channel is a private channel (i.e. PM). ``False`` in this case. @@ -59,6 +62,7 @@ class Channel(object): self.name = kwargs.get('name') self.server = kwargs.get('server') self.id = kwargs.get('id') + self.topic = kwargs.get('topic') self.is_private = False self.position = kwargs.get('position') self.type = kwargs.get('type') |