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 08:04:03 -04:00
committed by GitHub
co-authored by Danny
parent 1c163b66cd
commit 035dd812de
+5
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