aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/faq.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 506a4d43..aab42fbd 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -74,11 +74,18 @@ General questions regarding library usage belong here.
How do I set the "Playing" status?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-There is a method for this under :class:`Client` called :meth:`Client.change_presence`. The relevant aspect of this is its
-``game`` keyword argument which takes in a :class:`Game` object. Putting both of these pieces of info together, you get the
-following: ::
+There is a method for this under :class:`Client` called :meth:`Client.change_presence`.
+The relevant aspect of this is its ``activity`` keyword argument which takes in an :class:`Activity` object.
- await client.change_presence(game=discord.Game(name='my game'))
+The status type (playing, listening, streaming, watching) can be set using the :class:`ActivityType` enum.
+For memory optimisation purposes, some activities are offered in slimmed down versions:
+
+- :class:`Game`
+- :class:`Streaming`
+
+Putting both of these pieces of info together, you get the following: ::
+
+ await client.change_presence(activity=discord.Game(name='my game'))
How do I send a message to a specific channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~