aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/invite.py39
-rw-r--r--docs/_static/style.css2
2 files changed, 24 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.
diff --git a/docs/_static/style.css b/docs/_static/style.css
index e80b88bb..f77572f3 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -804,6 +804,7 @@ dd {
table.docutils {
width: 100%;
+ table-layout: fixed;
}
table.docutils.footnote {
@@ -828,6 +829,7 @@ table.docutils tbody tr td {
border-top: solid 1px var(--table-border);
padding: 7px 5px;
vertical-align: top;
+ overflow-wrap: break-word;
}
table.docutils tbody tr:last-child th,
table.docutils tbody tr:last-child td {