Make FAQ use change_presence instead of change_status.
This commit is contained in:
parent
64733c0b19
commit
14a1bbceda
@ -94,11 +94,11 @@ 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_status`. The relevant aspect of this is its
|
||||
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: ::
|
||||
|
||||
await client.change_status(game=discord.Game(name='my game'))
|
||||
await client.change_presence(game=discord.Game(name='my game'))
|
||||
|
||||
How do I send a message to a specific channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user