oop
This commit is contained in:
parent
0088ab589b
commit
1c228f9548
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user