mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fix Picarto channel avatar in Streams cog (#6230)
This commit is contained in:
parent
100de11ce6
commit
483682dfb5
@ -487,9 +487,7 @@ class PicartoStream(Stream):
|
||||
raise APIError(r.status, data)
|
||||
|
||||
def make_embed(self, data):
|
||||
avatar = rnd(
|
||||
"https://picarto.tv/user_data/usrimg/{}/dsdefault.jpg".format(data["name"].lower())
|
||||
)
|
||||
avatar = rnd(data["avatar"])
|
||||
url = "https://picarto.tv/" + data["name"]
|
||||
thumbnail = data["thumbnails"]["web"]
|
||||
embed = discord.Embed(title=data["title"], url=url, color=0x4C90F3)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user