oop
This commit is contained in:
parent
4297eed591
commit
60d383cb51
@ -278,14 +278,14 @@ class Client:
|
|||||||
|
|
||||||
# internals
|
# internals
|
||||||
|
|
||||||
def set_embed_color(self, new_color):
|
def set_embed_color(self, color):
|
||||||
"""Set a new default embed color.
|
"""Set a new default embed color.
|
||||||
|
|
||||||
This will raise a TypeError if an improper format was passed.
|
This will raise a TypeError if an improper format was passed.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
name: Union[:class:`.Colour`, :class:`int`]
|
color: Union[:class:`.Colour`, :class:`int`]
|
||||||
The new color you want to set as default embed color.
|
The new color you want to set as default embed color.
|
||||||
Pass either an instance of discord.Color or a valid
|
Pass either an instance of discord.Color or a valid
|
||||||
0x****** HEX value.
|
0x****** HEX value.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user