mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
[Streams] Embed colors (#605)
This commit is contained in:
parent
b69b5b3005
commit
ae1244668e
@ -376,6 +376,7 @@ class Streams:
|
||||
embed.set_thumbnail(url=channel["logo"])
|
||||
embed.set_image(url=data["stream"]["preview"]["medium"])
|
||||
embed.set_footer(text="Playing: " + channel["game"])
|
||||
embed.color = 0x6441A4
|
||||
return embed
|
||||
|
||||
def hitbox_embed(self, data):
|
||||
@ -390,6 +391,7 @@ class Streams:
|
||||
embed.set_thumbnail(url=base_url + channel["user_logo"])
|
||||
embed.set_image(url=base_url + livestream["media_thumbnail"])
|
||||
embed.set_footer(text="Playing: " + livestream["category_name"])
|
||||
embed.color = 0x98CB00
|
||||
return embed
|
||||
|
||||
def beam_embed(self, data):
|
||||
@ -401,6 +403,7 @@ class Streams:
|
||||
embed.add_field(name="Total views", value=data["viewersTotal"])
|
||||
embed.set_thumbnail(url=user["avatarUrl"])
|
||||
embed.set_image(url=data["thumbnail"]["url"])
|
||||
embed.color = 0x4C90F3
|
||||
if data["type"] is not None:
|
||||
embed.set_footer(text="Playing: " + data["type"]["name"])
|
||||
return embed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user