From d9a74407b3d36e6ddb8e8019bc546d0ce34842f4 Mon Sep 17 00:00:00 2001 From: Soheab <33902984+Soheab@users.noreply.github.com> Date: Fri, 23 Jan 2026 16:01:24 +0100 Subject: [PATCH] Document InviteUsersJob --- discord/invite.py | 5 +++-- docs/api.rst | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/discord/invite.py b/discord/invite.py index ffcbebea7..1349ec792 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -47,6 +47,7 @@ __all__ = ( 'PartialInviteChannel', 'PartialInviteGuild', 'Invite', + 'InviteUsersJob', ) if TYPE_CHECKING: @@ -83,7 +84,7 @@ class InviteUsersJob: ----------- invite: :class:`Invite` The invite this job status is for. - status: :class:`InviteTargetUsersJob` + status: :class:`InviteUsersJobStatus` The status of the job. total_users: :class:`int` The total number of users in the job. @@ -688,7 +689,7 @@ class Invite(Hashable): Returns -------- - :class:`InviteUsersJob` + :class:`discord.InviteUsersJob` The status of the target users job. Raises diff --git a/docs/api.rst b/docs/api.rst index afec60ea7..e874e0f07 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -5526,6 +5526,14 @@ Invite .. autoclass:: Invite() :members: +InviteUsersJob +~~~~~~~~~~~~~~ + +.. attributetable:: InviteUsersJob + +.. autoclass:: InviteUsersJob() + :members: + Template ~~~~~~~~~