From 7409b21fab337181f3a9aee41e6d919775cf2934 Mon Sep 17 00:00:00 2001 From: MadCat9958 Date: Sat, 1 Jul 2023 22:49:28 +0300 Subject: [PATCH] Optional members and shards --- boticordpy/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boticordpy/client.py b/boticordpy/client.py index 8cf5726..f6c7107 100644 --- a/boticordpy/client.py +++ b/boticordpy/client.py @@ -55,8 +55,8 @@ class BoticordClient: bot_id: typing.Union[str, int], *, servers: int = 0, - shards: int = 0, - users: int = 0, + shards: typing.Optional[int] = None, + users: typing.Optional[int] = None, ) -> boticord_types.ResourceBot: """Post Bot's stats. @@ -65,9 +65,9 @@ class BoticordClient: Id of the bot to post stats of. servers ( :obj:`int` ) Bot's servers count - shards ( :obj:`int` ) + shards ( Optional[:obj:`int`] ) Bot's shards count - users ( :obj:`int` ) + users ( Optional[:obj:`int`] ) Bot's users count Returns: