You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interactions/client/bot.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -49,10 +49,10 @@ class Client:
49
49
50
50
:param token: The token of the application for authentication and connection.
51
51
: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]]]
56
56
:param presence: Sets an RPC-like presence on the application when connected to the Gateway.
57
57
:type presence: Optional[ClientPresence]
58
58
:param default_scope: Sets the default scope of all commands.
0 commit comments