From fe1ebb314449343c6068ad1dbd23d5b78c86f3d3 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 19 Dec 2019 21:26:41 -0500 Subject: [PATCH] Default the Streaming name to the one passed for user created ones. --- discord/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/activity.py b/discord/activity.py index b97f8e311..d2670715f 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -400,7 +400,7 @@ class Streaming(_ActivityTag): def __init__(self, *, name, url, **extra): super().__init__(**extra) self.platform = name - self.name = extra.pop('details', None) + self.name = extra.pop('details', name) self.game = extra.pop('state', None) self.url = url self.details = extra.pop('details', self.name) # compatibility