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 ~~~~~~~~~