mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 07:54:36 +00:00
Consume remaining keyword arguments in Game constructor.
This commit is contained in:
parent
8c14f5301c
commit
1cf712e6f3
@ -53,7 +53,7 @@ class Game:
|
||||
|
||||
__slots__ = ['name', 'type', 'url']
|
||||
|
||||
def __init__(self, *, name, url=None, type=0):
|
||||
def __init__(self, *, name, url=None, type=0, **kwargs):
|
||||
self.name = name
|
||||
self.url = url
|
||||
self.type = type
|
||||
|
Loading…
x
Reference in New Issue
Block a user