aboutsummaryrefslogtreecommitdiff
path: root/discord/state.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-01-18 19:54:47 -0500
committerRapptz <[email protected]>2017-01-18 19:54:47 -0500
commitf465f88d817f9d88e626a09032def5a37d974d1a (patch)
tree00260fab831cc4826c4717319c9a1e537658f65f /discord/state.py
parentFix bug with GuildChannel.edit and Role.edit with positions. (diff)
downloaddiscord.py-f465f88d817f9d88e626a09032def5a37d974d1a.tar.xz
discord.py-f465f88d817f9d88e626a09032def5a37d974d1a.zip
Reimplement Guild.me property without patching it in.
Diffstat (limited to 'discord/state.py')
-rw-r--r--discord/state.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py
index 37ccd922..7f0c4eb9 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -188,8 +188,6 @@ class ConnectionState:
def _add_guild_from_data(self, guild):
guild = Guild(data=guild, state=self)
- Guild.me = property(lambda s: s.get_member(self.user.id))
- Guild.voice_client = property(lambda s: self._get_voice_client(s.id))
self._add_guild(guild)
return guild