Skip to content

Commit

Permalink
Add missing versionadded for a few decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapptz committed Jun 12, 2024
1 parent bb1d09a commit 837bc35
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions discord/app_commands/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2549,6 +2549,8 @@ def private_channel_only(func: Optional[T] = None) -> Union[T, Callable[[T], T]]
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
.. versionadded:: 2.4
Examples
---------
Expand Down Expand Up @@ -2640,6 +2642,8 @@ def allowed_contexts(guilds: bool = MISSING, dms: bool = MISSING, private_channe
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
.. versionadded:: 2.4
Examples
---------
Expand Down Expand Up @@ -2691,6 +2695,8 @@ def guild_install(func: Optional[T] = None) -> Union[T, Callable[[T], T]]:
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
.. versionadded:: 2.4
Examples
---------
Expand Down Expand Up @@ -2739,6 +2745,8 @@ def user_install(func: Optional[T] = None) -> Union[T, Callable[[T], T]]:
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
.. versionadded:: 2.4
Examples
---------
Expand Down Expand Up @@ -2781,6 +2789,8 @@ def allowed_installs(
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
.. versionadded:: 2.4
Examples
---------
Expand Down

0 comments on commit 837bc35

Please sign in to comment.