Fix table wrapping

This commit is contained in:
Rapptz
2020-06-27 07:08:46 -04:00
parent 219dae5a56
commit df57392aea
2 changed files with 24 additions and 17 deletions

View File

@ -235,23 +235,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.