aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py
index 38f12d36..9a840725 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -404,8 +404,7 @@ class Client(object):
# Compatibility shim
def __getattr__(self, name):
- if name in ('user', 'email', 'servers', 'private_channels', 'messages',
- 'get_channel'):
+ if name in ('user', 'email', 'servers', 'private_channels', 'messages'):
return getattr(self.connection, name)
else:
msg = "'{}' object has no attribute '{}'"