aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-20 15:19:47 -0400
committerRapptz <[email protected]>2017-05-20 15:19:47 -0400
commit3436792614d6478e25e43a717c4f393a16dd43bb (patch)
tree652c249e83be6a43ecf50d17f8ea6906c3128b65 /discord/client.py
parentRewrite Client.run yet again. (diff)
downloaddiscord.py-3436792614d6478e25e43a717c4f393a16dd43bb.tar.xz
discord.py-3436792614d6478e25e43a717c4f393a16dd43bb.zip
Allow setting a presence upon logging in.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index 6c3422f4..1309fa8b 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -92,6 +92,10 @@ class Client:
members from the guilds the bot belongs to. If this is ``False``\, then
no offline members are received and :meth:`request_offline_members`
must be used to fetch the offline members of the guild.
+ game: Optional[:class:`Game`]
+ A game to start your presence with upon logging on to Discord.
+ status: Optional[:class:`Status`]
+ A status to start your presence with upon logging on to Discord.
Attributes
-----------