mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-06 03:47:29 +00:00
Add note about renamed options in the Namespace
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
parent
1c163b66cd
commit
035dd812de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user