mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
Update streamtypes.py (#3631)
This commit is contained in:
parent
61fc00dc08
commit
279f0e4f6c
@ -310,7 +310,8 @@ class TwitchStream(Stream):
|
|||||||
embed.set_thumbnail(url=logo)
|
embed.set_thumbnail(url=logo)
|
||||||
if data["thumbnail_url"]:
|
if data["thumbnail_url"]:
|
||||||
embed.set_image(url=rnd(data["thumbnail_url"].format(width=320, height=180)))
|
embed.set_image(url=rnd(data["thumbnail_url"].format(width=320, height=180)))
|
||||||
embed.set_footer(text=_("Playing: ") + data["game_name"])
|
if data["game_name"]:
|
||||||
|
embed.set_footer(text=_("Playing: ") + data["game_name"])
|
||||||
return embed
|
return embed
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user