aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-06-27 07:55:30 -0400
committerRapptz <[email protected]>2020-06-27 07:55:47 -0400
commit8feb74a0183dc5c88c66fada261751b1f48f957a (patch)
tree8c73ad84e3b35d007e09742605a429995a01ae58 /discord
parentAdd border radius and padding to inline code (diff)
downloaddiscord.py-8feb74a0183dc5c88c66fada261751b1f48f957a.tar.xz
discord.py-8feb74a0183dc5c88c66fada261751b1f48f957a.zip
Revert "Fix table wrapping"
This reverts commit c911cd0dbd06f6c0e774396174fb383fc63d172f.
Diffstat (limited to 'discord')
-rw-r--r--discord/invite.py39
1 files changed, 17 insertions, 22 deletions
diff --git a/discord/invite.py b/discord/invite.py
index 1abbbc03..cfbbdf72 100644
--- a/discord/invite.py
+++ b/discord/invite.py
@@ -203,28 +203,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.