diff options
| author | Rapptz <[email protected]> | 2016-01-04 18:25:20 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-01-04 18:25:20 -0500 |
| commit | 948f565b430d80f782d0b7c264cc0b27aa1ec0b2 (patch) | |
| tree | cb5fc832e532435bbf2f450ef06550a785b0968c /discord/user.py | |
| parent | Change permissions to remove the can_ prefix. (diff) | |
| download | discord.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.py | 1 |
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') |