From 66c39b6151b039fdf83b46e1f8d67c067ad26045 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 11 Oct 2015 05:35:10 -0400 Subject: [PATCH] Remove get_channel from __getattr__ in Client. --- discord/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/discord/client.py b/discord/client.py index 38f12d36b..9a840725f 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 '{}'"