mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-30 23:30:02 +00:00
Update comments in CommandTree to reflect commands v2
This commit is contained in:
parent
6a4d5eef52
commit
823d650e97
@ -184,8 +184,7 @@ class CommandTree(Generic[ClientT]):
|
|||||||
"""Copies all global commands to the specified guild.
|
"""Copies all global commands to the specified guild.
|
||||||
|
|
||||||
This method is mainly available for development purposes, as it allows you
|
This method is mainly available for development purposes, as it allows you
|
||||||
to copy your global commands over to a testing guild easily and prevent waiting
|
to copy your global commands over to a testing guild easily.
|
||||||
an hour for the propagation.
|
|
||||||
|
|
||||||
Note that this method will *override* pre-existing guild commands that would conflict.
|
Note that this method will *override* pre-existing guild commands that would conflict.
|
||||||
|
|
||||||
@ -913,9 +912,6 @@ class CommandTree(Generic[ClientT]):
|
|||||||
|
|
||||||
This must be called for the application commands to show up.
|
This must be called for the application commands to show up.
|
||||||
|
|
||||||
Global commands take up to 1-hour to propagate but guild
|
|
||||||
commands propagate instantly.
|
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
guild: Optional[:class:`~discord.abc.Snowflake`]
|
guild: Optional[:class:`~discord.abc.Snowflake`]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user