Narmy
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
discord/app_commands/namespace.py
|
@ -71,6 +71,11 @@ class Namespace: |
|
|
with the name of ``example`` can be accessed using ``ns.example``. If an attribute is not found, |
|
|
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. |
|
|
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 |
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
|
.. container:: operations |
|
|
.. container:: operations |
|
|