aboutsummaryrefslogtreecommitdiff
path: root/discord/invite.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/invite.py')
-rw-r--r--discord/invite.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/discord/invite.py b/discord/invite.py
index 2af3a66f..21bf4a89 100644
--- a/discord/invite.py
+++ b/discord/invite.py
@@ -56,22 +56,22 @@ class Invite(Hashable):
Attributes
-----------
- max_age: int
+ max_age: :class:`int`
How long the before the invite expires in seconds. A value of 0 indicates that it doesn't expire.
- code: str
+ code: :class:`str`
The URL fragment used for the invite.
guild: :class:`Guild`
The guild the invite is for.
- revoked: bool
+ revoked: :class:`bool`
Indicates if the invite has been revoked.
created_at: `datetime.datetime`
A datetime object denoting the time the invite was created.
- temporary: bool
+ temporary: :class:`bool`
Indicates that the invite grants temporary membership.
If True, members who joined via this invite will be kicked upon disconnect.
- uses: int
+ uses: :class:`int`
How many times the invite has been used.
- max_uses: int
+ max_uses: :class:`int`
How many times the invite can be used.
inviter: :class:`User`
The user who created the invite.