Browse Source

Consume remaining keyword arguments in Game constructor.

pull/718/merge
Rapptz 8 years ago
parent
commit
1c60f9ccf4
  1. 2
      discord/game.py

2
discord/game.py

@ -57,7 +57,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…
Cancel
Save