Default to gold color if there is no color passed in for embes
This commit is contained in:
parent
86eeda8c4b
commit
ddfcfd663a
@ -79,6 +79,9 @@ async def on_message(message):
|
|||||||
if not embed_description and embed_url:
|
if not embed_description and embed_url:
|
||||||
embed_description="[Direct Link]({})".format(embed_url)
|
embed_description="[Direct Link]({})".format(embed_url)
|
||||||
|
|
||||||
|
if not embed_color:
|
||||||
|
embed_color=discord.Color.gold()
|
||||||
|
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title=embed_title,
|
title=embed_title,
|
||||||
description=embed_description,
|
description=embed_description,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user