This commit is contained in:
iDutchy 2020-10-01 21:43:22 +00:00
parent 0088ab589b
commit 1c228f9548

View File

@ -289,7 +289,7 @@ class Client:
if isinstance(value, (Color, Colour)): if isinstance(value, (Color, Colour)):
self._embed_color = hex(value) self._embed_color = hex(value)
os.environ['DEFAULT_EMBED_COLOR'] = str(hex(value)) os.environ['DEFAULT_EMBED_COLOR'] = str(hex(value))
elif HEX.match(str(value))): elif HEX.match(str(value)):
self._embed_color = value self._embed_color = value
os.environ['DEFAULT_EMBED_COLOR'] = str(value) os.environ['DEFAULT_EMBED_COLOR'] = str(value)
else: else: