mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add a new extlink for discord documentation
This commit is contained in:
@ -879,7 +879,7 @@ Messages
|
||||
will return a :class:`Message` object that represents the message before the content was modified.
|
||||
|
||||
Due to the inherently raw nature of this event, the data parameter coincides with
|
||||
the raw data given by the `gateway <https://discord.com/developers/docs/topics/gateway#message-update>`_.
|
||||
the raw data given by the :ddocs:`gateway <topics/gateway#message-update>`.
|
||||
|
||||
Since the data payload can be partial, care must be taken when accessing stuff in the dictionary.
|
||||
One example of a common case of partial data is when the ``'content'`` key is inaccessible. This
|
||||
|
@ -51,6 +51,7 @@ autodoc_typehints = 'none'
|
||||
|
||||
extlinks = {
|
||||
'issue': ('https://github.com/Rapptz/discord.py/issues/%s', 'GH-'),
|
||||
'ddocs': ('https://discord.com/developers/docs/%s', None),
|
||||
}
|
||||
|
||||
# Links used for cross-referencing stuff in other documentation
|
||||
|
Reference in New Issue
Block a user