diff options
| author | Rapptz <[email protected]> | 2017-01-18 19:54:47 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-18 19:54:47 -0500 |
| commit | f465f88d817f9d88e626a09032def5a37d974d1a (patch) | |
| tree | 00260fab831cc4826c4717319c9a1e537658f65f /discord/state.py | |
| parent | Fix bug with GuildChannel.edit and Role.edit with positions. (diff) | |
| download | discord.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.py | 2 |
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 |