1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-10 07:49:48 +00:00

Fix docstring for AppCommand.options and AppCommandGroup.options

This commit is contained in:
Lucas Hardt 2022-07-26 03:20:08 +02:00 committed by GitHub
parent a5410e6135
commit 24b619a516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.