mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Update pyright version
This commit is contained in:
@ -175,7 +175,7 @@ class Colour:
|
||||
return cls.from_rgb(*(int(x * 255) for x in rgb))
|
||||
|
||||
@classmethod
|
||||
def from_str(cls, value: str) -> Self:
|
||||
def from_str(cls, value: str) -> Colour:
|
||||
"""Constructs a :class:`Colour` from a string.
|
||||
|
||||
The following formats are accepted:
|
||||
|
Reference in New Issue
Block a user