From 2d6171effa52e3e04b0adab2097b770ac5b08a40 Mon Sep 17 00:00:00 2001 From: dolfies Date: Wed, 27 Dec 2023 18:16:31 -0500 Subject: [PATCH] Document return type for Client.join_hub() --- discord/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/discord/client.py b/discord/client.py index 50801ff92..f54b21085 100644 --- a/discord/client.py +++ b/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