From 823d650e9748a58442bde80c233e3fa790117b20 Mon Sep 17 00:00:00 2001 From: Nickyux <30734036+nmsturcke@users.noreply.github.com> Date: Wed, 1 Jun 2022 08:38:20 +0200 Subject: [PATCH] Update comments in CommandTree to reflect commands v2 --- discord/app_commands/tree.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/discord/app_commands/tree.py b/discord/app_commands/tree.py index 6c32f515f..3eb2be5cf 100644 --- a/discord/app_commands/tree.py +++ b/discord/app_commands/tree.py @@ -184,8 +184,7 @@ class CommandTree(Generic[ClientT]): """Copies all global commands to the specified guild. 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 - an hour for the propagation. + to copy your global commands over to a testing guild easily. 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. - Global commands take up to 1-hour to propagate but guild - commands propagate instantly. - Parameters ----------- guild: Optional[:class:`~discord.abc.Snowflake`]