Add note about renamed options in the Namespace

Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
Narmy 2022-09-07 14:04:03 +02:00 committed by GitHub
parent 1c163b66cd
commit 035dd812de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,11 @@ class Namespace:
with the name of ``example`` can be accessed using ``ns.example``. If an attribute is not found,
then ``None`` is returned rather than an attribute error.
.. warning::
The key names come from the raw Discord data, which means that if a parameter was renamed then the
renamed key is used instead of the function parameter name.
.. versionadded:: 2.0
.. container:: operations