diff options
| author | Rapptz <[email protected]> | 2018-03-06 01:21:25 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-03-06 01:21:25 -0500 |
| commit | 857e30c68e92b5b9b7c515d8526ed12ff1b67c59 (patch) | |
| tree | a2ed84b9cd2b6332506a31df9f2c719c7663a3eb /docs | |
| parent | [commands] Minor optimisations to unicode quote handling. (diff) | |
| download | discord.py-857e30c68e92b5b9b7c515d8526ed12ff1b67c59.tar.xz discord.py-857e30c68e92b5b9b7c515d8526ed12ff1b67c59.zip | |
Add some documentation for the Game to Activity breaking change.
Diffstat (limited to 'docs')
| -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 ce87a277..e9fbf000 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -357,6 +357,10 @@ They will be enumerated here. - Use :attr:`Permissions.view_audit_log` instead. +- ``Member.game`` + + - Use :attr:`Member.activity` instead. + **Changed** - :attr:`Member.avatar_url` and :attr:`User.avatar_url` now return the default avatar if a custom one is not set. @@ -384,6 +388,7 @@ They will be enumerated here. - :meth:`Guild.vanity_invite` to fetch the guild's vanity invite. - :meth:`Guild.audit_logs` to fetch the guild's audit logs. - :attr:`Message.webhook_id` to fetch the message's webhook ID. +- :attr:`Message.activity` and :attr:`Message.application` for Rich Presence related information. - :meth:`TextChannel.is_nsfw` to check if a text channel is NSFW. - :meth:`Colour.from_rgb` to construct a :class:`Colour` from RGB tuple. |