mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Fix documentation to work.
This commit is contained in:
parent
79a49f9145
commit
9c000c5a72
@ -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
|
||||
----------
|
||||
|
30
docs/api.rst
30
docs/api.rst
@ -724,17 +724,35 @@ PermissionOverwrite
|
||||
.. autoclass:: PermissionOverwrite
|
||||
:members:
|
||||
|
||||
Channel
|
||||
~~~~~~~~
|
||||
|
||||
.. autoclass:: Channel
|
||||
TextChannel
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. autoclass:: TextChannel
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
PrivateChannel
|
||||
~~~~~~~~~~~~~~~
|
||||
VoiceChannel
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. autoclass:: PrivateChannel
|
||||
.. autoclass:: VoiceChannel
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
DMChannel
|
||||
~~~~~~~~~
|
||||
|
||||
.. autoclass:: DMChannel
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
GroupChannel
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. autoclass:: GroupChannel
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
|
||||
Invite
|
||||
~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user