From 857e30c68e92b5b9b7c515d8526ed12ff1b67c59 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 6 Mar 2018 01:21:25 -0500 Subject: [PATCH] Add some documentation for the Game to Activity breaking change. --- docs/migrating.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/migrating.rst b/docs/migrating.rst index ce87a2772..e9fbf0005 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.