Skip to content

Commit 837bc35

Browse files
committed
Add missing versionadded for a few decorators
1 parent bb1d09a commit 837bc35

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

discord/app_commands/commands.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,6 +2549,8 @@ def private_channel_only(func: Optional[T] = None) -> Union[T, Callable[[T], T]]
25492549
25502550
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
25512551
2552+
.. versionadded:: 2.4
2553+
25522554
Examples
25532555
---------
25542556
@@ -2640,6 +2642,8 @@ def allowed_contexts(guilds: bool = MISSING, dms: bool = MISSING, private_channe
26402642
26412643
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
26422644
2645+
.. versionadded:: 2.4
2646+
26432647
Examples
26442648
---------
26452649
@@ -2691,6 +2695,8 @@ def guild_install(func: Optional[T] = None) -> Union[T, Callable[[T], T]]:
26912695
26922696
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
26932697
2698+
.. versionadded:: 2.4
2699+
26942700
Examples
26952701
---------
26962702
@@ -2739,6 +2745,8 @@ def user_install(func: Optional[T] = None) -> Union[T, Callable[[T], T]]:
27392745
27402746
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
27412747
2748+
.. versionadded:: 2.4
2749+
27422750
Examples
27432751
---------
27442752
@@ -2781,6 +2789,8 @@ def allowed_installs(
27812789
27822790
Due to a Discord limitation, this decorator does nothing in subcommands and is ignored.
27832791
2792+
.. versionadded:: 2.4
2793+
27842794
Examples
27852795
---------
27862796

0 commit comments

Comments
 (0)