This commit is contained in:
iDutchy
2020-10-01 22:11:25 +00:00
parent 397535f1e5
commit 291237bac9
2 changed files with 5 additions and 5 deletions

View File

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