mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Add missing versionadded for a few decorators
This commit is contained in:
parent
bb1d09a13f
commit
837bc35b87
@ -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
|
||||
---------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user