aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/channel.py')
-rw-r--r--discord/channel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py
index a3e433e0..74d74001 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -59,6 +59,9 @@ class Channel(object):
"""
def __init__(self, **kwargs):
+ self.update(**kwargs)
+
+ def update(self, **kwargs):
self.name = kwargs.get('name')
self.server = kwargs.get('server')
self.id = kwargs.get('id')