aboutsummaryrefslogtreecommitdiff
path: root/discord/user.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-04 18:25:20 -0500
committerRapptz <[email protected]>2016-01-04 18:25:20 -0500
commit948f565b430d80f782d0b7c264cc0b27aa1ec0b2 (patch)
treecb5fc832e532435bbf2f450ef06550a785b0968c /discord/user.py
parentChange permissions to remove the can_ prefix. (diff)
downloaddiscord.py-948f565b430d80f782d0b7c264cc0b27aa1ec0b2.tar.xz
discord.py-948f565b430d80f782d0b7c264cc0b27aa1ec0b2.zip
Use super() in classes that could be subclassed.
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/user.py b/discord/user.py
index 85e43ba4..9403b308 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -56,6 +56,7 @@ class User:
__slots__ = ['name', 'id', 'discriminator', 'avatar']
def __init__(self, **kwargs):
+ super().__init__(**kwargs)
self.name = kwargs.get('username')
self.id = kwargs.get('id')
self.discriminator = kwargs.get('discriminator')