Browse Source

Documentation update.

pull/1/head
Rapptz 10 years ago
parent
commit
49bc2dbf48
  1. 2
      discord/server.py
  2. 11
      docs/api.rst

2
discord/server.py

@ -29,7 +29,7 @@ from permissions import Permissions
import datetime, re
class Role(object):
""""Represents a Discord role in a :class:`Server`.
"""Represents a Discord role in a :class:`Server`.
Instance attributes:

11
docs/api.rst

@ -92,10 +92,17 @@ Some classes are just there to be data containers, this lists them. It should be
.. autoclass:: Server
:members:
.. autoclass:: Channel
.. autoclass:: Member
:members:
.. autoclass:: PrivateChannel
.. autoclass:: Role
:members:
.. autoclass:: Permissions
:members:
.. autoclass:: Channel
:members:
.. autoclass:: PrivateChannel
:members:

Loading…
Cancel
Save