mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-14 09:50:03 +00:00
Miscellaneous documentation fixes.
This commit is contained in:
parent
0176517453
commit
31fd5023f1
@ -1221,7 +1221,7 @@ class Client(object):
|
|||||||
At the moment, the Discord API allows you to set the colour to any
|
At the moment, the Discord API allows you to set the colour to any
|
||||||
RGB value. This will change in the future so it is recommended that
|
RGB value. This will change in the future so it is recommended that
|
||||||
you use the constants in the :class:`Colour` instead such as
|
you use the constants in the :class:`Colour` instead such as
|
||||||
:attr:`Colour.NAVY_BLUE`.
|
:meth:`Colour.green`.
|
||||||
|
|
||||||
:param server: The :class:`Server` the role belongs to.
|
:param server: The :class:`Server` the role belongs to.
|
||||||
:param role: The :class:`Role` to edit.
|
:param role: The :class:`Role` to edit.
|
||||||
|
@ -156,7 +156,7 @@ to handle it, which defaults to print a traceback and ignore the exception.
|
|||||||
|
|
||||||
Called whenever a :class:`Member` changes their status or game playing status.
|
Called whenever a :class:`Member` changes their status or game playing status.
|
||||||
|
|
||||||
:param server: The :class:`Member` who has had their status changed.
|
:param member: The :class:`Member` who has had their status changed.
|
||||||
|
|
||||||
.. function:: on_channel_delete(channel)
|
.. function:: on_channel_delete(channel)
|
||||||
on_channel_create(channel)
|
on_channel_create(channel)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user