mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Slots use tuples instead now.
This commit is contained in:
1 parent
b9dafe375f
commit
e4b16851bf
7 files changed
+8
-8
No files matched your search
+1
-1
@@ -58,7 +58,7 @@ class User:
|
||||
Specifies if the user is a bot account.
|
||||
"""
|
||||
|
||||
__slots__ = ['name', 'id', 'discriminator', 'avatar', 'bot', '_state']
|
||||
__slots__ = ('name', 'id', 'discriminator', 'avatar', 'bot', '_state')
|
||||
|
||||
def __init__(self, *, state, data):
|
||||
self._state = state
|
||||
|
||||
Reference in new issue
Block a user