Browse Source
Fix docstring for AppCommand.options and AppCommandGroup.options
pull/8272/head
Lucas Hardt
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
discord/app_commands/models.py
|
|
@ -145,7 +145,7 @@ class AppCommand(Hashable): |
|
|
|
The application command's name. |
|
|
|
description: :class:`str` |
|
|
|
The application command's description. |
|
|
|
options: List[Union[:class:`AppCommand`, :class:`AppCommandGroup`]] |
|
|
|
options: List[Union[:class:`Argument`, :class:`AppCommandGroup`]] |
|
|
|
A list of options. |
|
|
|
default_member_permissions: Optional[:class:`~discord.Permissions`] |
|
|
|
The default member permissions that can run this command. |
|
|
@ -825,7 +825,7 @@ class AppCommandGroup: |
|
|
|
The name of the subcommand. |
|
|
|
description: :class:`str` |
|
|
|
The description of the subcommand. |
|
|
|
options: List[Union[:class:`AppCommand`, :class:`AppCommandGroup`]] |
|
|
|
options: List[Union[:class:`Argument`, :class:`AppCommandGroup`]] |
|
|
|
A list of options. |
|
|
|
parent: Union[:class:`AppCommand`, :class:`AppCommandGroup`] |
|
|
|
The parent application command. |
|
|
|