mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
[docs] Add async with documentation for Client
Co-authored-by: Rapptz <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1f053e0a32
commit
5d1b63bfee
@ -308,6 +308,14 @@ class AutoShardedClient(Client):
|
||||
if this is used. By default, when omitted, the client will launch shards from
|
||||
0 to ``shard_count - 1``.
|
||||
|
||||
.. container:: operations
|
||||
|
||||
.. describe:: async with x
|
||||
|
||||
Asynchronously initialises the client and automatically.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
Attributes
|
||||
------------
|
||||
shard_ids: Optional[List[:class:`int`]]
|
||||
|
Reference in New Issue
Block a user