Default to gold color if there is no color passed in for embes

This commit is contained in:
Luke Robles 2018-03-19 21:26:00 -07:00
parent 86eeda8c4b
commit ddfcfd663a

View File

@ -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,