mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-26 02:53:07 +00:00
Slots use tuples instead now.
This commit is contained in:
@@ -51,7 +51,7 @@ class Game:
|
||||
The type of game being played. 1 indicates "Streaming".
|
||||
"""
|
||||
|
||||
__slots__ = ['name', 'type', 'url']
|
||||
__slots__ = ('name', 'type', 'url')
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
self.name = kwargs.get('name')
|
||||
|
||||
Reference in New Issue
Block a user