aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-12-24 05:40:27 -0500
committerRapptz <[email protected]>2017-01-03 09:52:02 -0500
commit9c000c5a72abe72bb56992770d17c1b0df2ff8e2 (patch)
treee9666c77eacda40f5287a3a909c158ced78dac0a
parentAbsolute import some circular dependencies to appease Python 3.4. (diff)
downloaddiscord.py-9c000c5a72abe72bb56992770d17c1b0df2ff8e2.tar.xz
discord.py-9c000c5a72abe72bb56992770d17c1b0df2ff8e2.zip
Fix documentation to work.
-rw-r--r--discord/guild.py14
-rw-r--r--docs/api.rst30
2 files changed, 31 insertions, 13 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 0ffd8168..d1f1c837 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -47,17 +47,17 @@ class Guild(Hashable):
Supported Operations:
- +-----------+--------------------------------------+
- | Operation | Description |
- +===========+======================================+
+ +-----------+-------------------------------------+
+ | Operation | Description |
+ +===========+=====================================+
| x == y | Checks if two guilds are equal. |
- +-----------+--------------------------------------+
+ +-----------+-------------------------------------+
| x != y | Checks if two guilds are not equal. |
- +-----------+--------------------------------------+
+ +-----------+-------------------------------------+
| hash(x) | Returns the guild's hash. |
- +-----------+--------------------------------------+
+ +-----------+-------------------------------------+
| str(x) | Returns the guild's name. |
- +-----------+--------------------------------------+
+ +-----------+-------------------------------------+
Attributes
----------
diff --git a/docs/api.rst b/docs/api.rst
index 0907e30b..bcbf1f47 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -724,17 +724,35 @@ PermissionOverwrite
.. autoclass:: PermissionOverwrite
:members:
-Channel
-~~~~~~~~
-.. autoclass:: Channel
+TextChannel
+~~~~~~~~~~~~
+
+.. autoclass:: TextChannel
+ :members:
+ :inherited-members:
+
+VoiceChannel
+~~~~~~~~~~~~~
+
+.. autoclass:: VoiceChannel
:members:
+ :inherited-members:
-PrivateChannel
-~~~~~~~~~~~~~~~
+DMChannel
+~~~~~~~~~
+
+.. autoclass:: DMChannel
+ :members:
+ :inherited-members:
-.. autoclass:: PrivateChannel
+GroupChannel
+~~~~~~~~~~~~
+
+.. autoclass:: GroupChannel
:members:
+ :inherited-members:
+
Invite
~~~~~~~