Browse Source

Document return type for Client.join_hub()

pull/10109/head
dolfies 1 year ago
parent
commit
2d6171effa
  1. 5
      discord/client.py

5
discord/client.py

@ -5182,6 +5182,11 @@ class Client:
------
HTTPException
Joining the hub or requesting the verification code failed.
Returns
--------
Optional[:class:`.Guild`]
The joined hub, if a code was provided.
"""
state = self._connection

Loading…
Cancel
Save