diff options
| author | Rapptz <[email protected]> | 2017-05-15 03:40:27 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-15 03:40:27 -0400 |
| commit | 7a846613122db036b36a68cfcd9c501096bdb71e (patch) | |
| tree | 8ba8d5cda5415b7de2ca1db28332a34711994aea /discord/colour.py | |
| parent | Add Colour.from_rgb. (diff) | |
| download | discord.py-7a846613122db036b36a68cfcd9c501096bdb71e.tar.xz discord.py-7a846613122db036b36a68cfcd9c501096bdb71e.zip | |
Rename Colour.to_tuple to Colour.to_rgb.
Diffstat (limited to 'discord/colour.py')
| -rw-r--r-- | discord/colour.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/colour.py b/discord/colour.py index 454bafbc..dd72510a 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -93,7 +93,7 @@ class Colour: """Returns the blue component of the colour.""" return self._get_byte(0) - def to_tuple(self): + def to_rgb(self): """Returns an (r, g, b) tuple representing the colour.""" return (self.r, self.g, self.b) |