This commit is contained in:
iDutchy 2020-10-01 21:55:05 +00:00
parent 0860df8fa5
commit e91a0d62f7

View File

@ -111,6 +111,8 @@ class Embed:
except KeyError:
default_colour = kwargs.get('color', EmptyEmbed)
colour = os.getenv("DEFAULT_EMBED_COLOR", default=default_colour)
if isinstance(colour, str):
colour = int(colour, 16)
self.colour = colour