From ae1979d17abd0ff32de5f0b01176b169ee57b32b Mon Sep 17 00:00:00 2001 From: "I. Ahmad" <54180221+nerdguyahmad@users.noreply.github.com> Date: Mon, 28 Mar 2022 18:19:27 +0500 Subject: [PATCH] [commands] Add note for command tree in Bot's docstring --- discord/ext/commands/bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 140e0dd05..8eb2ba052 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -1289,6 +1289,10 @@ class Bot(BotBase, discord.Client): This class also subclasses :class:`.GroupMixin` to provide the functionality to manage commands. + Unlike :class:`discord.Client`, This class does not require manually setting + a :class:`~discord.app_commands.CommandTree` and is automatically set upon + instantiating the class. + Attributes ----------- command_prefix