diff options
| author | Rapptz <[email protected]> | 2020-06-27 07:08:46 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-06-27 07:08:46 -0400 |
| commit | c911cd0dbd06f6c0e774396174fb383fc63d172f (patch) | |
| tree | 5cbb1bb2892cd94180903a8a17db778e73adaa20 /discord | |
| parent | Fix margins in 600px view of settings and label (diff) | |
| download | discord.py-c911cd0dbd06f6c0e774396174fb383fc63d172f.tar.xz discord.py-c911cd0dbd06f6c0e774396174fb383fc63d172f.zip | |
Fix table wrapping
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/invite.py | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/discord/invite.py b/discord/invite.py index cfbbdf72..1abbbc03 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -203,23 +203,28 @@ 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. |