Skip to content

Commit 0e8ae2e

Browse files
committed
refactor: see if adding ? to both param and type works
1 parent d466a57 commit 0e8ae2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interactions/client/bot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ class Client:
4949
5050
:param token: The token of the application for authentication and connection.
5151
:type token: str
52-
:param intents: Allows specific control of permissions the application has when connected. In order to use multiple intents, the | operator is recommended. Defaults to ``Intents.DEFAULT``.
53-
:type intents: Optional[Intents]
54-
:param shards: Dictates and controls the shards that the application connects under.
55-
:type shards: Optional[List[Tuple[int]]]
52+
:param intents?: Allows specific control of permissions the application has when connected. In order to use multiple intents, the | operator is recommended. Defaults to ``Intents.DEFAULT``.
53+
:type intents?: Optional[Intents]
54+
:param shards?: Dictates and controls the shards that the application connects under.
55+
:type shards?: Optional[List[Tuple[int]]]
5656
:param presence: Sets an RPC-like presence on the application when connected to the Gateway.
5757
:type presence: Optional[ClientPresence]
5858
:param default_scope: Sets the default scope of all commands.

0 commit comments

Comments
 (0)