diff options
| author | Tobotimus <[email protected]> | 2018-01-06 17:21:56 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-01-06 17:23:59 -0500 |
| commit | 3112e1c17e7859adf6d13ed844f4c636b4bc30d8 (patch) | |
| tree | 70d7aafca549a8c245ee4fdab774e1ab5302d531 /discord/invite.py | |
| parent | [commands] Fix MissingRequiredArgument param handling (diff) | |
| download | discord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.tar.xz discord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.zip | |
Add intersphinx
Diffstat (limited to 'discord/invite.py')
| -rw-r--r-- | discord/invite.py | 12 |
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. |