[commands] Add note for command tree in Bot's docstring

This commit is contained in:
I. Ahmad
2022-03-28 18:19:27 +05:00
committed by GitHub
parent c6d0c82d66
commit ae1979d17a

View File

@ -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