diff options
Diffstat (limited to 'discord/invite.py')
| -rw-r--r-- | discord/invite.py | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/discord/invite.py b/discord/invite.py index 364fc274..2f7c273d 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -235,28 +235,23 @@ class Invite(Hashable): The following table illustrates what methods will obtain the attributes: - +------------------------------------+----------------------------------+ - | Attribute | Method | - +====================================+==================================+ - | :attr:`max_age` | :meth:`abc.GuildChannel.invites` | - | | :meth:`Guild.invites` | - +------------------------------------+----------------------------------+ - | :attr:`max_uses` | :meth:`abc.GuildChannel.invites` | - | | :meth:`Guild.invites` | - +------------------------------------+----------------------------------+ - | :attr:`created_at` | :meth:`abc.GuildChannel.invites` | - | | :meth:`Guild.invites` | - +------------------------------------+----------------------------------+ - | :attr:`temporary` | :meth:`abc.GuildChannel.invites` | - | | :meth:`Guild.invites` | - +------------------------------------+----------------------------------+ - | :attr:`uses` | :meth:`abc.GuildChannel.invites` | - | | :meth:`Guild.invites` | - +------------------------------------+----------------------------------+ - | :attr:`approximate_member_count` | :meth:`Client.fetch_invite` | - +------------------------------------+----------------------------------+ - | :attr:`approximate_presence_count` | :meth:`Client.fetch_invite` | - +------------------------------------+----------------------------------+ + +------------------------------------+----------------------------------------------------------+ + | Attribute | Method | + +====================================+==========================================================+ + | :attr:`max_age` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` | + +------------------------------------+----------------------------------------------------------+ + | :attr:`max_uses` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` | + +------------------------------------+----------------------------------------------------------+ + | :attr:`created_at` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` | + +------------------------------------+----------------------------------------------------------+ + | :attr:`temporary` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` | + +------------------------------------+----------------------------------------------------------+ + | :attr:`uses` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` | + +------------------------------------+----------------------------------------------------------+ + | :attr:`approximate_member_count` | :meth:`Client.fetch_invite` | + +------------------------------------+----------------------------------------------------------+ + | :attr:`approximate_presence_count` | :meth:`Client.fetch_invite` | + +------------------------------------+----------------------------------------------------------+ If it's not in the table above then it is available by all methods. |