mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-10 15:59:50 +00:00
Fix docstring for AppCommand.options and AppCommandGroup.options
This commit is contained in:
parent
a5410e6135
commit
24b619a516
@ -145,7 +145,7 @@ class AppCommand(Hashable):
|
|||||||
The application command's name.
|
The application command's name.
|
||||||
description: :class:`str`
|
description: :class:`str`
|
||||||
The application command's description.
|
The application command's description.
|
||||||
options: List[Union[:class:`AppCommand`, :class:`AppCommandGroup`]]
|
options: List[Union[:class:`Argument`, :class:`AppCommandGroup`]]
|
||||||
A list of options.
|
A list of options.
|
||||||
default_member_permissions: Optional[:class:`~discord.Permissions`]
|
default_member_permissions: Optional[:class:`~discord.Permissions`]
|
||||||
The default member permissions that can run this command.
|
The default member permissions that can run this command.
|
||||||
@ -825,7 +825,7 @@ class AppCommandGroup:
|
|||||||
The name of the subcommand.
|
The name of the subcommand.
|
||||||
description: :class:`str`
|
description: :class:`str`
|
||||||
The description of the subcommand.
|
The description of the subcommand.
|
||||||
options: List[Union[:class:`AppCommand`, :class:`AppCommandGroup`]]
|
options: List[Union[:class:`Argument`, :class:`AppCommandGroup`]]
|
||||||
A list of options.
|
A list of options.
|
||||||
parent: Union[:class:`AppCommand`, :class:`AppCommandGroup`]
|
parent: Union[:class:`AppCommand`, :class:`AppCommandGroup`]
|
||||||
The parent application command.
|
The parent application command.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user