mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-11 19:07:29 +03:00
servers also optional
This commit is contained in:
parent
7409b21fab
commit
2f7f1a5200
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class BoticordClient:
|
|||
self,
|
||||
bot_id: typing.Union[str, int],
|
||||
*,
|
||||
servers: int = 0,
|
||||
servers: typing.Optional[int] = None,
|
||||
shards: typing.Optional[int] = None,
|
||||
users: typing.Optional[int] = None,
|
||||
) -> boticord_types.ResourceBot:
|
||||
|
@ -63,7 +63,7 @@ class BoticordClient:
|
|||
Args:
|
||||
bot_id (Union[:obj:`str`, :obj:`int`])
|
||||
Id of the bot to post stats of.
|
||||
servers ( :obj:`int` )
|
||||
servers ( Optional[:obj:`int`] )
|
||||
Bot's servers count
|
||||
shards ( Optional[:obj:`int`] )
|
||||
Bot's shards count
|
||||
|
|
Loading…
Reference in a new issue