Update docs for discord.Invite.max_uses
This mentions the unlimited uses aspect.
This commit is contained in:
parent
c325918ae6
commit
6c40e3b837
@ -258,7 +258,8 @@ class Invite(Hashable):
|
|||||||
Attributes
|
Attributes
|
||||||
-----------
|
-----------
|
||||||
max_age: :class:`int`
|
max_age: :class:`int`
|
||||||
How long the before the invite expires in seconds. A value of 0 indicates that it doesn't expire.
|
How long the before the invite expires in seconds.
|
||||||
|
A value of ``0`` indicates that it doesn't expire.
|
||||||
code: :class:`str`
|
code: :class:`str`
|
||||||
The URL fragment used for the invite.
|
The URL fragment used for the invite.
|
||||||
guild: Optional[Union[:class:`Guild`, :class:`Object`, :class:`PartialInviteGuild`]]
|
guild: Optional[Union[:class:`Guild`, :class:`Object`, :class:`PartialInviteGuild`]]
|
||||||
@ -274,6 +275,7 @@ class Invite(Hashable):
|
|||||||
How many times the invite has been used.
|
How many times the invite has been used.
|
||||||
max_uses: :class:`int`
|
max_uses: :class:`int`
|
||||||
How many times the invite can be used.
|
How many times the invite can be used.
|
||||||
|
A value of ``0`` indicates that it has unlimited uses.
|
||||||
inviter: :class:`User`
|
inviter: :class:`User`
|
||||||
The user who created the invite.
|
The user who created the invite.
|
||||||
approximate_member_count: Optional[:class:`int`]
|
approximate_member_count: Optional[:class:`int`]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user