From 3436792614d6478e25e43a717c4f393a16dd43bb Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 20 May 2017 15:19:47 -0400 Subject: Allow setting a presence upon logging in. --- discord/client.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'discord/client.py') 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 ----------- -- cgit v1.2.3