diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py index e8c9c3c6f..cd6eafaf3 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -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 --------- @@ -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 --------- @@ -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 --------- @@ -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 --------- @@ -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 ---------