Allow setting a presence upon logging in.

This commit is contained in:
Rapptz
2017-05-20 15:19:47 -04:00
parent 9e24d43c63
commit 3436792614
3 changed files with 29 additions and 1 deletions

View File

@ -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
-----------