From 1cf712e6f380e5294ca97b4c46cd3e579bda6f02 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 19 Aug 2017 12:10:48 -0400 Subject: [PATCH] Consume remaining keyword arguments in Game constructor. --- discord/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/game.py b/discord/game.py index d5b5b8943..9d606be03 100644 --- a/discord/game.py +++ b/discord/game.py @@ -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