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 /docs/migrating.rst | |
| 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 'docs/migrating.rst')
| -rw-r--r-- | docs/migrating.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index 38e2af93..1c742e9e 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -343,6 +343,10 @@ They will be enumerated here. - Use :attr:`Message.created_at` instead. +- ``Colour.to_tuple()`` + + - Use :meth:`Colour.to_rgb` instead. + **Added** - :attr:`VoiceChannel.members` for fetching members connected to a voice channel. @@ -360,6 +364,7 @@ They will be enumerated here. - :meth:`Guild.audit_logs` to fetch the guild's audit logs. - :attr:`Message.webhook_id` to fetch the message's webhook ID. - :meth:`TextChannel.is_nsfw` to check if a text channel is NSFW. +- :meth:`Colour.from_rgb` to construct a :class:`Colour` from RGB tuple. .. _migrating_1_0_sending_messages: |