Update discord/colour.py
Co-authored-by: proguy914629 <74696067+proguy914629bot@users.noreply.github.com>
This commit is contained in:
parent
28caab0974
commit
4291d4cf31
@ -5577,7 +5577,7 @@ class Colour:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if theme not in themes_cls:
|
if theme not in themes_cls:
|
||||||
raise TypeError("Theme must be one of \"dark\" and \"light\".")
|
raise TypeError("Theme must be one of \"dark\" or \"light\".")
|
||||||
|
|
||||||
return cls(themes_cls[theme])
|
return cls(themes_cls[theme])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user