aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-10-27 16:17:51 +0200
committerRapptz <[email protected]>2018-11-24 22:38:49 -0500
commit7fe4c999fbeeab2fe478fc4929b13f44fdf5f595 (patch)
tree65066409a0b8526cc43dca6f0fc4d5da39ef7e4c
parentAdd support for multiple activities (diff)
downloaddiscord.py-7fe4c999fbeeab2fe478fc4929b13f44fdf5f595.tar.xz
discord.py-7fe4c999fbeeab2fe478fc4929b13f44fdf5f595.zip
Actually drop copy.copy in Member
Remove the old and slow Member._copy implementation that was left over by accident in 095f0ec. Since it was defined later it overrode the new implementation and rendered it moot.
-rw-r--r--discord/member.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/discord/member.py b/discord/member.py
index e8011d47..ef3d4600 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -25,7 +25,6 @@ DEALINGS IN THE SOFTWARE.
"""
import itertools
-import copy
import discord.abc
@@ -225,11 +224,6 @@ class Member(discord.abc.Messageable, _BaseUser):
u.avatar = user.get('avatar', u.avatar)
u.discriminator = user.get('discriminator', u.discriminator)
- def _copy(self):
- c = copy.copy(self)
- c._user = copy.copy(self._user)
- return c
-
@property
def colour(self):
"""A property that returns a :class:`Colour` denoting the rendered colour