mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-15 10:19:59 +00:00
Revert "Use super() in classes that could be subclassed."
This reverts commit 948f565b430d80f782d0b7c264cc0b27aa1ec0b2.
This commit is contained in:
parent
948f565b43
commit
97874293e2
@ -105,7 +105,6 @@ class Client:
|
||||
|
||||
"""
|
||||
def __init__(self, *, loop=None, **options):
|
||||
super().__init__(loop, **options)
|
||||
self.ws = None
|
||||
self.token = None
|
||||
self.gateway = None
|
||||
|
@ -44,5 +44,4 @@ class Object:
|
||||
"""
|
||||
|
||||
def __init__(self, id):
|
||||
super().__init__(id)
|
||||
self.id = id
|
||||
|
@ -56,7 +56,6 @@ 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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user