Reimplement Guild.me property without patching it in.

This commit is contained in:
Rapptz
2017-01-18 19:54:47 -05:00
parent f4cadaf0cc
commit f465f88d81
2 changed files with 8 additions and 8 deletions

View File

@ -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